hwmon: (f75375s) Fix reading of wrong register when initializing the F75387
authorNikolaus Schulz <schulz@macnetix.de>
Wed, 8 Feb 2012 17:56:09 +0000 (18:56 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 9 Feb 2012 04:47:33 +0000 (20:47 -0800)
commita367a1e08b21e995c7112ff32b5efc97d104d405
tree1c93195ca4f85a005989c496b15954e5ddf6342c
parent09e87e5c4f9af656af2a8a3afc03487c5d9287c3
hwmon: (f75375s) Fix reading of wrong register when initializing the F75387

Unlike the other chips supported by this driver, the F75387 stores the
pwm_mode in register F75375_REG_FAN_TIMER, not F75375_REG_CONFIG1.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f75375s.c