]> git.baikalelectronics.ru Git - kernel.git/commit
HID: uclogic: Refactor UGEE v2 frame initialization
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 15 Aug 2022 14:29:51 +0000 (16:29 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 25 Aug 2022 08:26:31 +0000 (10:26 +0200)
commit474d6f68bc26e58e807f4035291a736ea277ab15
tree57e1183acd4604d679cece3f908ac504e2cd0aa9
parent220387e91d42db9dd10ab99a27ca5087337c335d
HID: uclogic: Refactor UGEE v2 frame initialization

At the moment, the driver only supports UGEE v2 devices that have
buttons in their frames.

In order to support other types of frames in the future, move the code
used to initialize this kind of frames to its own function.

Tested-by: Jouke Witteveen <j.witteveen@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic-params.c