From: Jiri Kosina Date: Tue, 20 Dec 2011 23:29:19 +0000 (+0100) Subject: HID: emsff: use symbolic name instead of hardcoded PID constant X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=05ee28387946ca9936956a6e45f822c0c41dfc87;p=deliverable%2Flinux.git HID: emsff: use symbolic name instead of hardcoded PID constant Use macro instead of 0x118 PID in device table. Signed-off-by: Jiri Kosina --- 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);