HID: uclogic: Allow to generate frame templates
authorJosé Expósito <jose.exposito89@gmail.com>
Sat, 11 Jun 2022 11:39:13 +0000 (13:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 15 Jun 2022 13:51:46 +0000 (15:51 +0200)
commit867c8925442579f7c4a8901f02a54fb07e99c2be
tree3b10c702082d30b5458c860fbeae2a1f5e26a50f
parent2d167aaba3864cf8f46b8364aa33e780de1da8f4
HID: uclogic: Allow to generate frame templates

Add a new template placeholder to allow configuring the number of
buttons in the drawing tablet frame and update the KUnit tests to
cover the new case.

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