mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
This patch fixes two minor bugs in thermal_sys:
(a) The flow of goto's in thermal_hwmon_add_sysfs.
(b) Remove the temp*_crit only if there is a get_crit_temp defined, in
thermal_remove_hwmon_sysfs.
Signed-off-by: Durgadoss R <[email protected]>
Signed-off-by: Len Brown <[email protected]>