HID: lenovo: Rename fn_lock sysfs attr handlers to make them generic
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jul 2020 13:27:40 +0000 (15:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jul 2020 10:42:26 +0000 (12:42 +0200)
commitef550c5d0a8e32b9ac080ee83331f23acfe157e3
treeb751618eefdb4c51953053cb413a7006f608cc01
parent484921f571b1924a49421a999897387f8de33fbf
HID: lenovo: Rename fn_lock sysfs attr handlers to make them generic

Except for a single call, there is nothing keyboard-model specific about
the cptkbd fn_lock sysfs attr handlers, rename them dropping the cptkbd
post-/pre-fix, so that they can be re-used for supporting Fn-lock 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