toshiba_acpi: Adapt Illumination code to use SCI
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 26 Mar 2014 02:38:30 +0000 (20:38 -0600)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 16:58:13 +0000 (12:58 -0400)
commitfdb79081fec4a57e124b34f983aac566e210220f
tree4e683d8eaee2f1e8b9aed37a95baab72d96c740d
parent84a6273f04fd19cad189c8327d0c3c17a053ab8b
toshiba_acpi: Adapt Illumination code to use SCI

Change the toshiba_illumination_* code to use the
newly introduced SCI functions, making the code
more robust in detecting Illumination capabilities
properly, since it was only opening the SCI and
the return value was never checked for errors or
actual Illumination support.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/toshiba_acpi.c