class_device_destroy9
Removes a class device that was created with class_device_create
Usage
void class_device_destroy(struct class * cls, dev_t devt);
Arguments
cls
the pointer to the struct class that this device was registered * with.
devt
the dev_t of the device that was previously registered.
Overview
This call unregisters and cleans up a class device that was created with a call to class_device_create