Commit 05ee28387946ca9936956a6e45f822c0c41dfc87
1 parent
d66c266ad4
Exists in
master
and in
6 other branches
HID: emsff: use symbolic name instead of hardcoded PID constant
Use macro instead of 0x118 PID in device table. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/hid/hid-emsff.c
... | ... | @@ -139,7 +139,7 @@ |
139 | 139 | } |
140 | 140 | |
141 | 141 | static const struct hid_device_id ems_devices[] = { |
142 | - { HID_USB_DEVICE(USB_VENDOR_ID_EMS, 0x118) }, | |
142 | + { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, | |
143 | 143 | { } |
144 | 144 | }; |
145 | 145 | MODULE_DEVICE_TABLE(hid, ems_devices); |