projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bec44b
)
NFC: port100: Convert to use USB_DEVICE macro
author
Axel Lin
<axel.lin@ingics.com>
Fri, 14 Feb 2014 09:00:12 +0000
(17:00 +0800)
committer
Samuel 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
patch
|
blob
|
history
diff --git
a/drivers/nfc/port100.c
b/drivers/nfc/port100.c
index
7931037
..
b7a372a
100644
(file)
--- 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);