summaryrefslogtreecommitdiffstats
path: root/drivers/hid
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
parentd66c266ad40e92a5c24fd0c5bbcf08c04ae41b6c (diff)
downloadop-kernel-dev-05ee28387946ca9936956a6e45f822c0c41dfc87.zip
op-kernel-dev-05ee28387946ca9936956a6e45f822c0c41dfc87.tar.gz
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')
-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 a5dc13f..4e02ec7 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);
OpenPOWER on IntegriCloud