[PATCH v2 0/4] Quirks cleanup and hid-generic niceness

From: Benjamin Tissoires
Date: Tue Oct 03 2017 - 10:57:45 EST


Hi,

Niels found an issue with v1 of the series, while compiling the usbhid module
as a separate .ko.

Sending a v2 with the proper From: field fixed now.

I also use -M1 to show in 1/4 that usbhid/hid-quirks.c is basically moved to
hid-quirks.c.

Cheers,
Benjamin

Benjamin Tissoires (4):
HID: core: move the dynamic quirks handling in core
HID: quirks: move the list of special devices into a quirk
HID: core: move the list of ignored devices in hid-quirks.c
HID: core: remove the absolute need of hid_have_special_driver[]

drivers/hid/Makefile | 2 +-
drivers/hid/hid-core.c | 926 ++---------------------------
drivers/hid/hid-generic.c | 68 ++-
drivers/hid/hid-quirks.c | 1244 +++++++++++++++++++++++++++++++++++++++
drivers/hid/usbhid/Makefile | 2 +-
drivers/hid/usbhid/hid-core.c | 10 +-
drivers/hid/usbhid/hid-quirks.c | 401 -------------
include/linux/hid.h | 21 +-
net/bluetooth/hidp/core.c | 2 +-
9 files changed, 1391 insertions(+), 1285 deletions(-)
create mode 100644 drivers/hid/hid-quirks.c
delete mode 100644 drivers/hid/usbhid/hid-quirks.c

--
2.9.5