HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard fn_lock support
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jul 2020 13:27:42 +0000 (15:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jul 2020 10:42:27 +0000 (12:42 +0200)
commitc87de33ed43a89ae8f32ccd40bd0b540244012d6
treea8e92873742fe89094c0535d37aa6d00920bc79d
parentbc04b37ea0ec1b8ec1306529f3f6dd0d6a5098f1
HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard fn_lock support

Add support for setting the Fn lock value of the ThinkPad 10 Ultrabook
Keyboard through sysfs, re-using the fn_lock sysfs attribute read/write
helpers from the existing ThinkPad Compact Keyboard with TrackPoint
support.

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