summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-emsff.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2011-12-21 00:29:19 +0100
committerJiri Kosina <jkosina@suse.cz>2011-12-21 00:29:19 +0100
commit05ee28387946ca9936956a6e45f822c0c41dfc87 (patch)
tree4dd0fb6b3824cd36d760210f6f178c19f22052ff /drivers/hid/hid-emsff.c
parentHID: Kconfig: fix syntax (diff)
downloadlinux-05ee28387946ca9936956a6e45f822c0c41dfc87.tar.xz
linux-05ee28387946ca9936956a6e45f822c0c41dfc87.zip
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);