hwmon: (applesmc) Correct sysfs fan error handling
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 11 May 2010 07:17:47 +0000 (09:17 +0200)
committerJean Delvare <khali@linux-fr.org>
Tue, 11 May 2010 07:17:47 +0000 (09:17 +0200)
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 <rydberg@euromail.se>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

No differences found