linux_dsm_epyc7002/drivers/thermal
Richard Guy Briggs da28d966f6 thermal: return an error on failure to register thermal class
The return code from the registration of the thermal class is used to
unallocate resources, but this failure isn't passed back to the caller of
thermal_init.  Return this failure back to the caller.

This bug was introduced in changeset 4cb18728 which overwrote the return code
when the variable was re-used to catch the return code of the registration of
the genetlink thermal socket family.

Signed-off-by: Richard Guy Briggs <rbriggs@redhat.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-02-22 17:38:40 +08:00
..
cpu_cooling.c Thermal: fix a wrong comment 2013-02-06 14:13:56 +08:00
db8500_cpufreq_cooling.c thermal: db8500: Use of_match_ptr() macro in db8500_cpufreq_cooling.c 2013-01-04 15:40:03 +08:00
db8500_thermal.c thermal: db8500: Use of_match_ptr() macro in db8500_thermal.c 2013-01-04 15:39:32 +08:00
dove_thermal.c Thermal: Dove: Add Themal sensor support for Dove. 2013-02-08 20:26:02 +08:00
exynos_thermal.c thermal: exynos: Use the new thermal trend type for quick cooling action. 2013-02-08 20:26:14 +08:00
fair_share.c thermal: fair_share: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
intel_powerclamp.c PM: intel_powerclamp: off by one in start_power_clamp() 2013-02-06 13:45:39 +08:00
Kconfig Thermal: rename thermal governor Kconfig option to avoid generic naming 2013-02-08 20:33:42 +08:00
kirkwood_thermal.c thermal: Add support for the thermal sensor on Kirkwood SoCs 2013-02-08 20:25:56 +08:00
Makefile Thermal: rename thermal governor Kconfig option to avoid generic naming 2013-02-08 20:33:42 +08:00
rcar_thermal.c thermal: rcar: add Device Tree support 2013-02-08 20:25:36 +08:00
spear_thermal.c drivers/thermal/spear_thermal.c: use devm_clk_get 2013-01-04 15:38:25 +08:00
step_wise.c step_wise: Unify the code for both throttle and dethrottle 2013-01-04 15:22:37 +08:00
thermal_core.h Thermal: Move thermal_instance to thermal_core.h 2012-11-05 13:56:32 +08:00
thermal_sys.c thermal: return an error on failure to register thermal class 2013-02-22 17:38:40 +08:00
user_space.c thermal: user_space: Add missing static storage class specifiers 2012-11-05 14:00:11 +08:00