]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83627ehf) Driver cleanup
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 14 Aug 2010 19:08:55 +0000 (21:08 +0200)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:54 +0000 (11:58 -0700)
commitb6c33e339d01d1132887d822555697b0b4bbded9
treeeea62c17f404ebe6a3e3465306dc5f5d9fbe51fc
parent491da76ab1094232131cd3434cde096350e1b82c
hwmon: (w83627ehf) Driver cleanup

[ upstream commit da2e025590cf7038440132d4bbc967a579b11112 ]

- Moved fan pwm register array pointers into per-instance data.
- Only read fan pwm data for installed/supported fans.
- Update fan max output and fan step output information from data in
  registers.
- Create max_output and step_output attribute files only if respective
  fan pwm registers exist.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/hwmon/w83627ehf.c