diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-14 17:00:12 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-02-23 23:32:18 +0100 |
commit | 4aa7ed02f58f6e175445abe94e73f9d155161b79 (patch) | |
tree | bce1c6e810a639fa8287d75f166500da01c5536a /drivers | |
parent | 9bec44bf0bcd623b5ea48ae1ce44205260ad4b77 (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')
-rw-r--r-- | drivers/nfc/port100.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/nfc/port100.c b/drivers/nfc/port100.c index 7931037dd5f..b7a372af5eb 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); |