diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-06-15 18:39:50 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-15 18:39:50 +0200 |
commit | 3fc7838a20cdd9aab0077f355b8c44135cd4b6bd (patch) | |
tree | 8437fbfd39f0d210286988e104d3228af77d1e5f /drivers/hwmon/smsc47m1.c | |
parent | 2958b1ec6be1d71105d67d70de9d7d70f5e97151 (diff) |
hwmon: (f71882fg) Cleanup f8000 pwm handling
Currently we are using separate per model sysfs attr for the 3th pwm, because
the 3th pwm of the f8000 only has automatic mode and not manual mode. Doing
things this way was getting in the way for adding f71858fg support, so this
patch makes the pwm attr identical for all models, and instead adds a check
to store_pwm_enable() disallowing setting the 3th pwm to manual mode
on a f8000 IC.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/smsc47m1.c')
0 files changed, 0 insertions, 0 deletions