commit | bc27490f9164281b9e1768a5df8e0951541f90a1 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed Jan 07 16:37:29 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Wed Jan 07 16:37:29 2009 +0100 |
tree | 286bef2b3932f9df3b153572d017c128a50683ca | |
parent | ce0bfa5ee25ddbe4072b16054e809f552bf72320 [diff] |
hwmon: (f71882fg) Cleanup fan and temp hyst functions Simplify fan and temp hyst. handling by treating the registers as an array of nibbles instead of using switch cases. Also unify the way hysts are handled between temp and fans, the temp code was storing the actual per temp hyst values in 4 u8's, where as the fan code was storing actual register values. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>