]> git.baikalelectronics.ru Git - kernel.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)
commit783cc3d84c262b688e63196317f8f10fcd4f2e30
tree670f2c12cf071e8376bb57f3f56af75880e37dc8
parent7a0a8f60b0dc6de6e4a00319f84254a5934585d4
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