toshiba_acpi: Add support for cooling method feature
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 25 Jan 2016 18:29:10 +0000 (11:29 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 23 Mar 2016 17:05:36 +0000 (10:05 -0700)
commit763ff32f19442b952406d4ac1ec1fb19733d23be
tree7209546079322aaf0279bae14ceec1f7b53a6cc8
parent15c75626f0999cce8357c8bf8578247134032acb
toshiba_acpi: Add support for cooling method feature

This patch adds support to query and set the "Cooling Method" feature,
which basically changes how the system fan behaves, depending on the
supported cooling methods.

Depending on the laptop model, these are the (so far...) available
cooling methods:
- Maximum Performance
- Performance
- Battery Optimized

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c