hwmon: (w83795) Only create fan[1-8]_target files when needed
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
commitb2cc528e5838d744892b30c5104bd872a439088f
tree27f3a0718da764b23addbc99e06487dc0918ac83
parentb5f6a90a0bbedc07a0b0b82b83aa716c7203fcd2
hwmon: (w83795) Only create fan[1-8]_target files when needed

Only create fan[1-8]_target files when the fan in question can be
controlled (PWM output is present.) Also name these files according
to the standard.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c