Messages in this thread | | | Date | Mon, 19 Nov 2012 11:01:59 +0800 | Subject | [RFC] usb: add 'usb_get_intf()' call into the probe methods of drivers for usb interfaces. | From | harvey yang <> |
| |
Hi, all I checked many usb drivers in the mainline kernel which do not record this reference in their probe methods. But according to the documents about this function, we shoud record this reference in our probe methods, just as the call to 'usb_get_dev()' to reference a usb device. Are these usb drivers right or we need to fix them?
| |