DEVICE_DEL(9) Device drivers infrastructure DEVICE_DEL(9)NAMEdevice_del - delete device from system.
SYNOPSIS
void device_del(struct device * dev);
ARGUMENTS
dev
device.
DESCRIPTION
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.
NOTE
this should be called manually _iff_ device_add was also called
manually.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 DEVICE_DEL(9)