This patch does a cleanup about the thermal zone govenor, setting and make the following rule. 1. For thermal zone devices that are registered w/o tz->tzp, they can use the default thermal governor only. 2. For thermal zone devices w/ governor name specified in tz->tzp->governor_name, we will use the default govenor if the governor specified is not available at the moment, and update tz->governor when the matched governor is registered. This also fixes a problem that OF registered thermal zones are running with no governor. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Javi Merino <javi.merino@arm.com> |
||
|---|---|---|
| .. | ||
| samsung | ||
| ti-soc-thermal | ||
| armada_thermal.c | ||
| cpu_cooling.c | ||
| db8500_cpufreq_cooling.c | ||
| db8500_thermal.c | ||
| dove_thermal.c | ||
| fair_share.c | ||
| imx_thermal.c | ||
| int3403_thermal.c | ||
| intel_powerclamp.c | ||
| Kconfig | ||
| kirkwood_thermal.c | ||
| Makefile | ||
| of-thermal.c | ||
| rcar_thermal.c | ||
| spear_thermal.c | ||
| step_wise.c | ||
| thermal_core.c | ||
| thermal_core.h | ||
| thermal_hwmon.c | ||
| thermal_hwmon.h | ||
| user_space.c | ||
| x86_pkg_temp_thermal.c | ||