From 05ee28387946ca9936956a6e45f822c0c41dfc87 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Wed, 21 Dec 2011 00:29:19 +0100 Subject: HID: emsff: use symbolic name instead of hardcoded PID constant Use macro instead of 0x118 PID in device table. Signed-off-by: Jiri Kosina --- drivers/hid/hid-emsff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/hid') 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); -- cgit v1.2.3-58-ga151