Browse Source

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>
Jiri Kosina 13 years ago
parent
commit
05ee283879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/hid/hid-emsff.c

+ 1 - 1
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);