diff options
author | Dan Williams <dcbw@redhat.com> | 2012-12-17 03:19:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-17 23:50:52 -0500 |
commit | c39ba1c2bdc3f97839d9b9e6bf9ffd5c754b7f95 (patch) | |
tree | 044cdbcde6e3285865de39c81d5408c964f0c999 /drivers/net | |
parent | 0370acd4d4d2595a11b0b0a793acb506e19b9d4c (diff) |
cdc_ether: cleanup: use USB_DEVICE_AND_INTERFACE_INFO for Novatel 551/E362
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index c4c593dcf0ba..a74f35f1403d 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -595,27 +595,15 @@ static const struct usb_device_id products [] = { | |||
595 | 595 | ||
596 | /* Novatel USB551L and MC551 - handled by qmi_wwan */ | 596 | /* Novatel USB551L and MC551 - handled by qmi_wwan */ |
597 | { | 597 | { |
598 | .match_flags = USB_DEVICE_ID_MATCH_VENDOR | 598 | USB_DEVICE_AND_INTERFACE_INFO(NOVATEL_VENDOR_ID, 0xB001, USB_CLASS_COMM, |
599 | | USB_DEVICE_ID_MATCH_PRODUCT | 599 | USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), |
600 | | USB_DEVICE_ID_MATCH_INT_INFO, | ||
601 | .idVendor = NOVATEL_VENDOR_ID, | ||
602 | .idProduct = 0xB001, | ||
603 | .bInterfaceClass = USB_CLASS_COMM, | ||
604 | .bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET, | ||
605 | .bInterfaceProtocol = USB_CDC_PROTO_NONE, | ||
606 | .driver_info = 0, | 600 | .driver_info = 0, |
607 | }, | 601 | }, |
608 | 602 | ||
609 | /* Novatel E362 - handled by qmi_wwan */ | 603 | /* Novatel E362 - handled by qmi_wwan */ |
610 | { | 604 | { |
611 | .match_flags = USB_DEVICE_ID_MATCH_VENDOR | 605 | USB_DEVICE_AND_INTERFACE_INFO(NOVATEL_VENDOR_ID, 0x9010, USB_CLASS_COMM, |
612 | | USB_DEVICE_ID_MATCH_PRODUCT | 606 | USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), |
613 | | USB_DEVICE_ID_MATCH_INT_INFO, | ||
614 | .idVendor = NOVATEL_VENDOR_ID, | ||
615 | .idProduct = 0x9010, | ||
616 | .bInterfaceClass = USB_CLASS_COMM, | ||
617 | .bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET, | ||
618 | .bInterfaceProtocol = USB_CDC_PROTO_NONE, | ||
619 | .driver_info = 0, | 607 | .driver_info = 0, |
620 | }, | 608 | }, |
621 | 609 | ||