commit | 4fdfbe8506fa236f3c4cc915b24e70f84a6f768a | [log] [tgz] |
---|---|---|
author | Durgadoss R <durgadoss.r@intel.com> | Thu Jan 20 02:40:56 2011 +0530 |
committer | Len Brown <len.brown@intel.com> | Wed Mar 02 19:47:57 2011 -0500 |
tree | 4ec9db4d074cf391e5f9e19754b4d09e4291e5f9 | |
parent | dd9c1549edef02290edced639f67b54a25abbe0e [diff] |
Thermal_Framework-Fix_crash_during_hwmon_unregister This patch fixes the following bug: The thermal framework creates a temp*_crit interface, only when the get_crit_temp pointer is defined. But during the _unregister_ path, without checking for the function definition, it is trying to remove the temp*_crit interface. Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>