From: Hans de Goede Date: Wed, 7 Jan 2009 15:37:29 +0000 (+0100) Subject: hwmon: (f71882fg) Cleanup fan and temp hyst functions X-Git-Tag: v2.6.29-rc1~190^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc27490f9164281b9e1768a5df8e0951541f90a1;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed