1USB_PUT_DEV(9) USB Core APIs USB_PUT_DEV(9)
23
4
NAME
6usb_put_dev - release a use of the usb device structure
7
SYNOPSIS
9void usb_put_dev(struct usb_device * dev);
10
ARGUMENTS
12dev
13device that's been disconnected
14
DESCRIPTION
16Must be called when a user of a device is finished with it. When the
17last user of the device calls this function, the memory of the device
18is freed.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 USB_PUT_DEV(9)