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>
Showing
- Documentation/thermal/sysfs-api.txt 3 additions, 1 deletionDocumentation/thermal/sysfs-api.txt
- drivers/acpi/thermal.c 2 additions, 2 deletionsdrivers/acpi/thermal.c
- drivers/platform/x86/acerhdf.c 1 addition, 1 deletiondrivers/platform/x86/acerhdf.c
- drivers/platform/x86/intel_mid_thermal.c 1 addition, 1 deletiondrivers/platform/x86/intel_mid_thermal.c
- drivers/thermal/spear_thermal.c 1 addition, 1 deletiondrivers/thermal/spear_thermal.c
- drivers/thermal/thermal_sys.c 101 additions, 44 deletionsdrivers/thermal/thermal_sys.c
- include/linux/thermal.h 12 additions, 3 deletionsinclude/linux/thermal.h
Loading
Please register or sign in to comment