platform/x86: asus-wmi: Simplify the keyboard brightness updating process
authorJian-Hong Pan <jian-hong@endlessm.com>
Thu, 27 Sep 2018 08:50:09 +0000 (16:50 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 19 Oct 2018 11:50:57 +0000 (14:50 +0300)
commit9fe44fc98ce45fe42004be9fd282775030c6b147
tree6365c800ac9391b776b84a106dbafa131883fd71
parentcacad0b2e395b12a05487f57b2e716698443e6ae
platform/x86: asus-wmi: Simplify the keyboard brightness updating process

The original asus-wmi queues a work which calls the ACPI/WMI methods to
update the keyboard LED brightness.  Similar drivers - acer-wmi,
dell-wmi-led just call the ACPI/WMI methods directly without workqueues.

This patch simplifies the keyboard brightness updating process which
calls the kbd_led_update function directly without workqueue in
asus-wmi.

Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wmi.c