hwmon: (adm1026) Fix setting fan_div
authorGabriele Gorla <gorlik@penguintown.net>
Wed, 8 Dec 2010 15:27:22 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:17 +0000 (13:58 -0800)
commit9bdffa72704f4c34b0efa0f4d192413a16559342
tree95b64b37a23b4f94954182d1b7185bccfc54bc26
parentb1d5eba052000b4319a410cbb2c5f73dec59e305
hwmon: (adm1026) Fix setting fan_div

commit 52bc9802ce849d0d287cc5fe76d06b0daa3986ca upstream.

Prevent setting fan_div from stomping on other fans that share the
same I2C register.

Signed-off-by: Gabriele Gorla <gorlik@penguintown.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/adm1026.c