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>
This commit is contained in:
Jean Delvare 2011-10-13 10:40:53 -04:00 • committed by Guenter Roeck
commit 389ef65d2e