HID: lenovo: Factor out generic parts of the LED code
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jul 2020 13:27:39 +0000 (15:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jul 2020 10:42:26 +0000 (12:42 +0200)
commit484921f571b1924a49421a999897387f8de33fbf
treee7ec63833e00be00aa5a3724c812393a66f6f013
parentb72cdfa824243f8da7b7c4503844cd0d2f9fae09
HID: lenovo: Factor out generic parts of the LED code

Factor out the generic parts of the tpkbd LED code, so that they can be
re-used for supporting the LEDs on the Thinkpad 10 ultrabook kbd.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c