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)
commitf7abc0618a4a5f0e138e24bb31234a88bfdb18ae
treea48f08e9f4f70dff4555ce0f63a12f1b26daa37a
parente55449e71aade362aa684bd3222974fed6e2d1c6
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