platform samsung-q10: use ACPI instead of direct EC calls
authorFrederick van der Wyck <fvanderwyck@gmail.com>
Mon, 8 Jul 2013 21:34:56 +0000 (22:34 +0100)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:51:33 +0000 (08:51 -0400)
commitaa3b88a3a4b75c4dd17e3091280cd94538489147
treee059257bd02423a021f13a24c5ce437dd4fa5faa
parentfcb44e12d38a18f99d22ff66e739bb2f2ac762f0
platform samsung-q10: use ACPI instead of direct EC calls

This patch changes the Samsung Q10 backlight driver to use ACPI methods
(the same ones as triggered by the brightness up/down function keys)
instead of direct EC calls. The advantage is that the brightness setting
is not lost on shutdown.

Signed-off-by: Frederick van der Wyck <fvanderwyck@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/samsung-q10.c