summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/via686a.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-12-09 20:35:59 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-09 20:35:59 +0100
commit66344aa6adc4397f79f134ad122072dbe5abcb48 (patch)
tree82e423401b450f52b657d0bc7d91df6cb5482627 /drivers/hwmon/via686a.c
parentf95f0b4ce8cae533c3731e54a51892921db10ffe (diff)
hwmon: (f71882fg) Cleanup sysfs attr creation 1/2
This patch makes a number of cleanups to the sysfs attr creation in the f71882fg driver, this is a preparation patch for adding f71889fg support: * Add some comments to explain why some models need separate sysfs attr arrays for in / temp / fan / pwm * Rename a number of sysfs attr arrays to make their function clearer * Move the pwm#_auto_channels_temp attribute from the common to all models fan attr array to the per model auto mode pwm attr arrays, so that all the auto mode pwm attr are grouped together, and thus can be left out on models where we don't support auto pwm mode * Put fan_beep attr in their own array, so that only auto mode pwm attr remain in the per model pwm sysfs attr arrays. * Put the 4th special fan input for the f8000 in its own array, so that only auto mode pwm attr remain in the per model pwm sysfs attr arrays. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/via686a.c')
0 files changed, 0 insertions, 0 deletions