]> git.baikalelectronics.ru Git - kernel.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)
commit75f8ab6013c1d02aee5317ff1eff61022bb2d048
tree55dad04e42107752c13681197e6137aabff1f2c3
parent194148a0652eaa6a7fc507832d3f26c27f5385a6
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