Thermal: Merge thermal framwork changes from Linux-next
authorJinyoung Park <jinyoungp@nvidia.com>
Mon, 26 Nov 2012 22:40:28 +0000 (14:40 -0800)
committerSimone Willett <swillett@nvidia.com>
Fri, 30 Nov 2012 18:53:49 +0000 (10:53 -0800)
commitb28b658d3f3d337b7013ab3bf71c9ae94ddbb623
treecb17981fc3785eae796fa723f664820c0eff3345
parente26d24c61858f049d217fb2e94c4574fb3c340fb
Thermal: Merge thermal framwork changes from Linux-next

There are some massive changes for thermal in Linux-next. They will be
released in Linux kernel-3.7. But several of them are needed for new thermal
management. So merged them from Linux-next to android-tegra-nv-3.4.

This is change list from Linux-next.
- thermal: Fix potential NULL pointer accesses
- thermal, cpufreq: Fix build when CPU_FREQ_TABLE isn't configured
- Thermal: Refactor thermal.h file
- Thermal: Move thermal_instance to thermal_core.h
- Thermal: Add get trend, get instance API's to thermal_sys
- Thermal: Add platform level information to thermal.h
- Thermal: Pass zone parameters as argument to tzd_register
- Thermal: Add thermal governor registration APIs
- Thermal: Add a policy sysfs attribute
- Thermal: Update binding logic based on platform data
- Thermal: Make thermal_cdev_update as a global function
- Thermal: Introduce fair_share thermal governor
- Thermal: Introduce a step_wise thermal governor
- Thermal: Add a thermal notifier for user space
- Thermal: Remove throttling logic out of thermal_sys.c
- Thermal: Add a notification API
- Thermal: Add documentation for platform layer data
- Thermal: Provide option to choose default thermal governor
- Thermal: Fix oops and unlocking in thermal_sys.c
- thermal: step_wise: Add missing static storage class specifiers
- thermal: fair_share: Add missing static storage class specifiers
- thermal: user_space: Add missing static storage class specifiers
- Thermal: add indent for code alignment.
- Thermal: fix bug of counting cpu frequencies.
- Thermal: Remove the cooling_cpufreq_list.

Bug 1059470

Change-Id: I9fc9d1ee6c1b99da21cad309f740a3762512f11c
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/166320
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
14 files changed:
Documentation/thermal/sysfs-api.txt
drivers/acpi/thermal.c
drivers/platform/x86/acerhdf.c
drivers/platform/x86/intel_mid_thermal.c
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/cpu_cooling.c
drivers/thermal/fair_share.c [new file with mode: 0644]
drivers/thermal/spear_thermal.c
drivers/thermal/step_wise.c [new file with mode: 0644]
drivers/thermal/thermal_core.h [new file with mode: 0644]
drivers/thermal/thermal_sys.c
drivers/thermal/user_space.c [new file with mode: 0644]
include/linux/thermal.h