mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-03 11:49:23 +07:00
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
@ -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…
Reference in New Issue
Block a user