1USB_GADGET_UNREGISTE(9)     Kernel Mode Gadget API     USB_GADGET_UNREGISTE(9)
2
3
4

NAME

6       usb_gadget_unregister_driver - unregister a gadget driver
7

SYNOPSIS

9       int usb_gadget_unregister_driver(struct usb_gadget_driver * driver);
10

ARGUMENTS

12       driver
13           the driver being unregistered
14

CONTEXT

16       can sleep
17

DESCRIPTION

19       Call this in your gadget driver´s module cleanup function, to tell the
20       underlying usb controller that your driver is going away. If the
21       controller is connected to a USB host, it will first disconnect. The
22       driver is also requested to unbind and clean up any device state,
23       before this procedure finally returns. It´s expected that the unbind
24       functions will in in exit sections, so may not be linked in some
25       kernels.
26

AUTHOR

28       David Brownell <dbrownell@users.sourceforge.net>
29           Author.
30
32Kernel Hackers Manual 2.6.         June 2019           USB_GADGET_UNREGISTE(9)
Impressum