DEVICE_DEL(9) Device drivers infrastructure DEVICE_DEL(9)NAMEdevice_del - delete device from system.
void device_del(struct device * dev);
This is the first part of the device unregistration sequence. This
removes the device from the lists we control from here, has it removed
from the other driver model subsystems it was added to in device_add,
and removes it from the kobject hierarchy.
this should be called manually _iff_ device_add was also called
COPYRIGHTKernel Hackers Manual 2.6. November 2013 DEVICE_DEL(9)