summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-14 17:00:12 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2014-02-23 23:32:18 +0100
commit4aa7ed02f58f6e175445abe94e73f9d155161b79 (patch)
treebce1c6e810a639fa8287d75f166500da01c5536a /drivers/nfc
parent9bec44bf0bcd623b5ea48ae1ce44205260ad4b77 (diff)
NFC: port100: Convert to use USB_DEVICE macro
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/port100.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/nfc/port100.c b/drivers/nfc/port100.c
index 7931037dd5f0..b7a372af5eb7 100644
--- a/drivers/nfc/port100.c
+++ b/drivers/nfc/port100.c
@@ -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);