.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "TRANSPORT_REMOVE_DEVICE" "9" "09 October 2005" "" "" .SH NAME transport_remove_device \- remove the visibility of a device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void transport_remove_device (struct device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR generic device to remove .SH "DESCRIPTION" .PP 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 \fBtransport_unregister_device\fR (see transport_class.h) which will perform both calls for you. .SH "DESCRIPTION" .PP 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 \fBtransport_unregister_device\fR (see transport_class.h) which will perform both calls for you.