]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 15:48:54 +0000 (11:48 -0400)
commit540162a0e19e2e703e1fba5687d7de8ba47442ce
tree4e683d8eaee2f1e8b9aed37a95baab72d96c740d
parentb0ead006a0df38960f3b8ee84e383c7f4ceed28d
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