NFC: port100: Convert to use USB_DEVICE macro
authorAxel Lin <axel.lin@ingics.com>
Fri, 14 Feb 2014 09:00:12 +0000 (17:00 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Feb 2014 22:32:18 +0000 (23:32 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/port100.c

index 7931037..b7a372a 100644 (file)
@@ -1374,10 +1374,7 @@ static struct nfc_digital_ops port100_digital_ops = {
 };
 
 static const struct usb_device_id port100_table[] = {
-       { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE,
-         .idVendor             = SONY_VENDOR_ID,
-         .idProduct            = RCS380_PRODUCT_ID,
-       },
+       { USB_DEVICE(SONY_VENDOR_ID, RCS380_PRODUCT_ID), },
        { }
 };
 MODULE_DEVICE_TABLE(usb, port100_table);