summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-emsff.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2011-12-21 03:29:19 +0400
committerJiri Kosina <jkosina@suse.cz>2011-12-21 03:29:19 +0400
commit05ee28387946ca9936956a6e45f822c0c41dfc87 (patch)
tree4dd0fb6b3824cd36d760210f6f178c19f22052ff /drivers/hid/hid-emsff.c
parentd66c266ad40e92a5c24fd0c5bbcf08c04ae41b6c (diff)
downloadlinux-05ee28387946ca9936956a6e45f822c0c41dfc87.tar.xz
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>
Diffstat (limited to 'drivers/hid/hid-emsff.c')
-rw-r--r--drivers/hid/hid-emsff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-emsff.c b/drivers/hid/hid-emsff.c
index a5dc13fe367b..4e02ec7a1c40 100644
--- 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);