From: Henrik Rydberg Date: Tue, 11 May 2010 07:17:47 +0000 (+0200) Subject: hwmon: (applesmc) Correct sysfs fan error handling X-Git-Tag: v2.6.34~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0559a538899d48e7d730affb9df2abb13a7d9008;p=pandora-kernel.git hwmon: (applesmc) Correct sysfs fan error handling The current code will not remove the sysfs files for fan numbers three and up. Also, upon exit, fans one and two are removed regardless of their existence. This patch cleans up the sysfs error handling for the fans. Signed-off-by: Henrik Rydberg Signed-off-by: Jean Delvare --- Reading git-diff-tree failed