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>
This commit is contained in:
parent
d66c266ad4
commit
05ee283879
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue