diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-05-11 09:17:47 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-05-11 09:17:47 +0200 |
commit | 0559a538899d48e7d730affb9df2abb13a7d9008 (patch) | |
tree | 99d6b4da24a0ffc4da57c78630150daf8ca897e9 /init | |
parent | d1bf8cf6b911001d50f2079c158cb5dd9782e187 (diff) | |
download | linux-stable-0559a538899d48e7d730affb9df2abb13a7d9008.tar.gz linux-stable-0559a538899d48e7d730affb9df2abb13a7d9008.tar.bz2 linux-stable-0559a538899d48e7d730affb9df2abb13a7d9008.zip |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions