hwmon: (adm1026) Fix setting fan_div
authorGabriele Gorla <gorlik@penguintown.net>
Wed, 8 Dec 2010 15:27:22 +0000 (16:27 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 8 Dec 2010 15:27:22 +0000 (16:27 +0100)
commit52bc9802ce849d0d287cc5fe76d06b0daa3986ca
treef6c3b947e1a039c9b8d6da95bfa81c92bc2133e5
parent6229cdb23648d0c2875b3fb102cdaf4bf08fcfa4
hwmon: (adm1026) Fix setting fan_div

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

Signed-off-by: Gabriele Gorla <gorlik@penguintown.net>
Cc: stable@kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/adm1026.c