ACPI:Fix goto flows in thermal-sys
authorDurgadoss R <durgadoss.r@intel.com>
Wed, 2 Mar 2011 23:00:13 +0000 (04:30 +0530)
committerLen Brown <len.brown@intel.com>
Wed, 23 Mar 2011 05:43:44 +0000 (01:43 -0400)
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 <durgadoss.r@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found