From: Durgadoss R Date: Wed, 19 Jan 2011 21:10:56 +0000 (+0530) Subject: Thermal_Framework-Fix_crash_during_hwmon_unregister X-Git-Tag: v2.6.39-rc1~90^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fdfbe8506fa236f3c4cc915b24e70f84a6f768a;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed