]> git.karo-electronics.de Git - karo-tx-linux.git/commit
toshiba_acpi: Add ECO mode led support
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 26 Mar 2014 02:38:33 +0000 (20:38 -0600)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 15:48:55 +0000 (11:48 -0400)
commitddd8cb364d26ded72644da008bfc4a59c2cf8d1c
tree55dad04e42107752c13681197e6137aabff1f2c3
parentc8ea48cf8bb12a88f4682ea4de14ac8a8a27443f
toshiba_acpi: Add ECO mode led support

Newer Toshiba laptops now come with a feature called
ECO Mode, where the system is put in low power consupmtion
state and a green (world shaped with leaves) icon illuminates
indicating that the system is in such power state.

This patch adds support to turn on/off the ECO led by
creating and registering the toshiba::eco_mode led.

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