Skip to content

Commit

Permalink
HID: emsff: use symbolic name instead of hardcoded PID constant
Browse files Browse the repository at this point in the history
Use macro instead of 0x118 PID in device table.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jiri Kosina committed Dec 20, 2011
1 parent d66c266 commit 05ee283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-emsff.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int ems_probe(struct hid_device *hdev, const struct hid_device_id *id)
}

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);
Expand Down

0 comments on commit 05ee283

Please sign in to comment.