1TRANSPORT_REMOVE_DEV(9) Device drivers infrastructure TRANSPORT_REMOVE_DEV(9)
2
3
4
6 transport_remove_device - remove the visibility of a device
7
9 void transport_remove_device(struct device * dev);
10
12 dev
13 generic device to remove
14
16 This call removes the visibility of the device (to the user from
17 sysfs), but does not destroy it. To eliminate a device entirely you
18 must also call transport_destroy_device. If you donĀ“t need to do remove
19 and destroy as separate operations, use transport_unregister_device
20 (see transport_class.h) which will perform both calls for you.
21
23Kernel Hackers Manual 2.6. June 2019 TRANSPORT_REMOVE_DEV(9)