Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05ee2838 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: emsff: use symbolic name instead of hardcoded PID constant



Use macro instead of 0x118 PID in device table.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d66c266a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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[] = {
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);
MODULE_DEVICE_TABLE(hid, ems_devices);