USB_DEREGISTER_DEV

Section: (9)
Updated: 13 April 2004
Index Return to Main Contents

 

NAME

usb_deregister_dev - deregister a USB device's dynamic minor.  

SYNOPSIS

void usb_deregister_dev (struct usb_interface * intf, struct usb_class_driver * class_driver);  

ARGUMENTS

intf
pointer to the usb_interface that is being deregistered
class_driver
pointer to the usb_class_driver for this device
 

DESCRIPTION

Used in conjunction with usb_register_dev. This function is called when the USB driver is finished with the minor numbers gotten from a call to usb_register_dev (usually when the device is disconnected from the system.)

This function also cleans up the devfs file for the usb device, if devfs is enabled, and removes the usb class device from the sysfs tree.

This should be called by all drivers that use the USB major number.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:22:03 GMT, April 13, 2004