]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
it87: No sysfs files for disabled fans
authorJean Delvare <khali@linux-fr.org>
Mon, 28 Aug 2006 12:24:17 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:13 +0000 (15:31 -0700)
commit9060f8bdd0c40e31d2be388e59f2dbeea55988a2
tree785b330c027326eac78cad5dcb224e4b2a949168
parent17d648bf5786ba5b8cbf7cbd5cb18d3d8d2657ca
it87: No sysfs files for disabled fans

it87: No sysfs files for disabled fans

Only create the fan attributes for enabled fan tachometers. Some
motherboards have a nice BIOS which only enables the fan inputs which
are wired to a fan header on the board. This makes the configuration
easier for the user.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c