table of contents
other versions
- jessie 3.16.56-1+deb8u1
TRANSPORT_REMOVE_DEV(9) | Device drivers infrastructure | TRANSPORT_REMOVE_DEV(9) |
NAME¶
transport_remove_device - remove the visibility of a deviceSYNOPSIS¶
void
transport_remove_device(struct device * dev);
ARGUMENTS¶
devgeneric device to remove
DESCRIPTION¶
This call removes the visibility of the device (to the user from sysfs), but does not destroy it. To eliminate a device entirely you must also call transport_destroy_device. If you don't need to do remove and destroy as separate operations, use transport_unregister_device (see transport_class.h) which will perform both calls for you.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |