]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (lm85) Use boolean to determine if VID5 is configured
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 25 Feb 2011 16:19:42 +0000 (08:19 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:36:25 +0000 (22:36 -0700)
commitde24880586b28f1dc4cf91f5db962f0083baab2a
tree670f2c12cf071e8376bb57f3f56af75880e37dc8
parent502b5a0199209001b34b623132ea313790acbd5d
hwmon: (lm85) Use boolean to determine if VID5 is configured

ADT7463 and ADT7468 optionally support VID5 instead of the standard +12V
measurement input. Use a boolean to identify the chip configuration instead of
hardcoding it several times.

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