1USB_GET_INTF(9) USB Core APIs USB_GET_INTF(9)
2
3
4
6 usb_get_intf - increments the reference count of the usb interface
7 structure
8
10 struct usb_interface * usb_get_intf(struct usb_interface * intf);
11
13 intf
14 the interface being referenced
15
17 Each live reference to a interface must be refcounted.
18
19 Drivers for USB interfaces should normally record such references in
20 their probe methods, when they bind to an interface, and release them
21 by calling usb_put_intf, in their disconnect methods.
22
24 A pointer to the interface with the incremented reference counter.
25
27Kernel Hackers Manual 3.10 June 2019 USB_GET_INTF(9)