HID: quirks: move the list of special devices into a quirk
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Nov 2017 10:48:42 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Nov 2017 10:14:48 +0000 (11:14 +0100)
commit6e65d9d5492f370dd0e5418bdd38265b2ca74f88
tree1f263c56b6bd0034803d8bd041d38cf89c78ffd5
parentd5d3e202753cc023100a854788a4ad83d7c2821a
HID: quirks: move the list of special devices into a quirk

It is better to centralize the information of special devices in one
single file. Instead of manually parsing the list of devices that
have a special driver or those that need to be ignored, introduce
HID_QUIRK_HAVE_SPECIAL_DRIVER and set the correct quirks while fetching
those quirks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-quirks.c
include/linux/hid.h
net/bluetooth/hidp/core.c