Find usb_interface pointer for driver and device
struct usb_interface * usb_find_interface(struct usb_driver * drv, int minor);
drv
the driver whose current configuration is considered
minor
the minor number of the desired device
This walks the bus device list and returns a pointer to the interface with the matching minor and driver. Note, this only works for devices that share the USB major number.
A pointer to the interface with the matching major and minor.