[PATCH v2 2/6] USB: Make it possible to "subclass" usb_device_driver

2019-10-15 Thread Bastien Nocera
The kernel currenly has only 2 usb_device_drivers, one generic one, one that completely replaces the generic one to make USB devices usable over a network. Use the newly exported generic driver functions when a driver declares to want them run, in addition to its own code. This makes it possible t

[PATCH v2 2/6] USB: Make it possible to "subclass" usb_device_driver

2019-10-15 Thread Bastien Nocera
The kernel currenly has only 2 usb_device_drivers, one generic one, one that completely replaces the generic one to make USB devices usable over a network. Use the newly exported generic driver functions when a driver declares to want them run, in addition to its own code. This makes it possible t