thinkpad_acpi: Add adaptive_kbd_mode sysfs attr
authorBastien Nocera <hadess@hadess.net>
Mon, 2 Mar 2015 13:45:27 +0000 (14:45 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 3 Mar 2015 17:00:08 +0000 (09:00 -0800)
commitb790ceeb0fd94725150219abd8c13b08a17a32e3
tree33d9de70fd13dcb99d9ae93b68ad000033f83906
parentf74587fb9308dd6d4346180672d79b8a861f02dd
thinkpad_acpi: Add adaptive_kbd_mode sysfs attr

Add a sysfs attribute to allow privileged users to change the keyboard
mode. This could be used by desktop environments to change the keyboard
mode depending on the application focused, as the Windows application
does.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c