]> git.baikalelectronics.ru Git - kernel.git/commit
usbnet: ipheth: Simplify device detection
authorGuenter Roeck <linux@roeck-us.net>
Wed, 24 Apr 2019 17:58:24 +0000 (10:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 15:34:01 +0000 (11:34 -0400)
commit759d5f2e4d333b5493362383007be7a92c9b85fc
treea48f08e9f4f70dff4555ce0f63a12f1b26daa37a
parent374e81ae1bbc012382e3fcc5cba098d24222803c
usbnet: ipheth: Simplify device detection

All Apple products use the same protocol for tethering over USB.
To simplify the code and make it future proof, use
USB_VENDOR_AND_INTERFACE_INFO() instead of
USB_DEVICE_AND_INTERFACE_INFO() to automatically detect and support
all existing and future Apple products using the same interface.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ipheth.c