projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66c266
)
HID: emsff: use symbolic name instead of hardcoded PID constant
author
Jiri Kosina
<jkosina@suse.cz>
Tue, 20 Dec 2011 23:29:19 +0000
(
00:29
+0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 20 Dec 2011 23:29:19 +0000
(
00:29
+0100)
Use macro instead of 0x118 PID in device table.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-emsff.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-emsff.c
b/drivers/hid/hid-emsff.c
index a5dc13fe367b7584e8290e1e5dcd29c5cd028df7..4e02ec7a1c404d7b95a0d1c3d846ec572aa76cde 100644
(file)
--- a/
drivers/hid/hid-emsff.c
+++ b/
drivers/hid/hid-emsff.c
@@
-139,7
+139,7
@@
err:
}
static const struct hid_device_id ems_devices[] = {
- { HID_USB_DEVICE(USB_VENDOR_ID_EMS,
0x118
) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_EMS,
USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II
) },
{ }
};
MODULE_DEVICE_TABLE(hid, ems_devices);