commit | 0559a538899d48e7d730affb9df2abb13a7d9008 | [log] [tgz] |
---|---|---|
author | Henrik Rydberg <rydberg@euromail.se> | Tue May 11 09:17:47 2010 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Tue May 11 09:17:47 2010 +0200 |
tree | 99d6b4da24a0ffc4da57c78630150daf8ca897e9 | |
parent | d1bf8cf6b911001d50f2079c158cb5dd9782e187 [diff] |
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 <rydberg@euromail.se> Signed-off-by: Jean Delvare <khali@linux-fr.org>