]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83627ehf) Skip reading unused voltage registers
authorJean Delvare <khali@linux-fr.org>
Thu, 13 Oct 2011 14:40:53 +0000 (10:40 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 13 Oct 2011 15:33:52 +0000 (08:33 -0700)
commit8073a1b270f19214409c53f383d049edcd3987e3
tree772d830ff159152435600b52618216e2d6f781b1
parent6fbde24c04e4bae4383961a39a23725ac188759a
hwmon: (w83627ehf) Skip reading unused voltage registers

When in6 is missing, don't read the corresponding registers, it's a
waste of time. The logic is similar to what we do for fans and
temperatures.

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