forked from luck/tmp_suning_uos_patched
043e4652bf
we are returning EINVAL while the thermal_zone_device_register function fail. instead we can use the return value from the thermal_zone_device_register by using PTR_ERR. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> |
||
---|---|---|
.. | ||
cpu_cooling.c | ||
db8500_cpufreq_cooling.c | ||
db8500_thermal.c | ||
dove_thermal.c | ||
exynos_thermal.c | ||
fair_share.c | ||
intel_powerclamp.c | ||
Kconfig | ||
kirkwood_thermal.c | ||
Makefile | ||
rcar_thermal.c | ||
spear_thermal.c | ||
step_wise.c | ||
thermal_core.h | ||
thermal_sys.c | ||
user_space.c |