HID: core: move the dynamic quirks handling in core
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Nov 2017 10:48:41 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Nov 2017 10:14:48 +0000 (11:14 +0100)
commitd5d3e202753cc023100a854788a4ad83d7c2821a
tree6eef3c995780949d8301f909023ceb8a1d91c729
parent20df15783a44a289aaa8c8f83b3f715f9040c9c2
HID: core: move the dynamic quirks handling in core

usbhid has a list of dynamic quirks in addition to a list of static quirks.
There is not much USB specific in that, so move this part of the module
in core so we can have one central place for quirks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-quirks.c [new file with mode: 0644]
drivers/hid/usbhid/Makefile
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/hid-quirks.c [deleted file]
include/linux/hid.h