]> git.openfabrics.org - ~emulex/infiniband.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 16:58:14 +0000 (12:58 -0400)
commitdef6c4e25d31b874b939bd08e7941eaa9711653f
tree55dad04e42107752c13681197e6137aabff1f2c3
parent9d8658acd6be9139ef91dfe6c001796e7a03ded6
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