thinkpad_acpi: Add support for keyboard backlight
authorPali Rohár <pali.rohar@gmail.com>
Wed, 30 Dec 2015 22:27:41 +0000 (23:27 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 20 Jan 2016 01:35:49 +0000 (17:35 -0800)
commitbb28f3d51ff5e1be541d057708011cc1efe6fae9
treebcfb5bf417333f905fd76a92a6ee6d6f71d2ce27
parent481fe5be821c3d04f986e4061de42e1209a62374
thinkpad_acpi: Add support for keyboard backlight

This patch adds support for controlling keyboard backlight via standard
linux led class interface (::kbd_backlight). It uses ACPI HKEY device with
MLCG and MLCS methods.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Fabio D'Urso <fabiodurso@hotmail.it>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c