Thermal: Make Thermal trip points writeable
authorDurgadoss R <dugardoss.r@intel.com>
Wed, 25 Jul 2012 02:10:58 +0000 (10:10 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 25 Jul 2012 03:17:20 +0000 (23:17 -0400)
commitc56f5c0342dfee11a1a13d2f5bb7618de5b17590
tree4f5bae9424271e41d10d0c9d9fc17be6f63fba63
parent28a33cbc24e4256c143dce96c7d93bf423229f92
Thermal: Make Thermal trip points writeable

Some of the thermal drivers using the Generic Thermal Framework
require (all/some) trip points to be writeable. This patch makes
the trip point temperatures writeable on a per-trip point basis,
and modifies the required function call in thermal.c. This patch
also updates the Documentation to reflect the new change.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/thermal/sysfs-api.txt
drivers/acpi/thermal.c
drivers/platform/x86/acerhdf.c
drivers/platform/x86/intel_mid_thermal.c
drivers/thermal/spear_thermal.c
drivers/thermal/thermal_sys.c
include/linux/thermal.h