HID: uclogic: Remove pen usage masking
authorNikolai Kondrashov <spbnick@gmail.com>
Sat, 19 Feb 2022 10:01:49 +0000 (11:01 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 1 Mar 2022 14:28:13 +0000 (15:28 +0100)
commit606dadc1878f2fdeaa6e435c9c83f58a01387a7d
tree399290b792ae52b76bbb1369654f4a81944e7d69
parent044fa8162dc10686fcffa5501d4ca3947df047ca
HID: uclogic: Remove pen usage masking

Remove support for pen usage masking from hid-uclogic. Disable whole
interfaces instead. Most of those interfaces are useless, and if there
is one which has an unused pen usage, but also has useful reports, its
report descriptor should be rewritten instead.

This simplifies the code and the data structures.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic-core.c
drivers/hid/hid-uclogic-params.c
drivers/hid/hid-uclogic-params.h