hwmon: (ltc2978) Use correct ID mask to detect all chips
authorGuenter Roeck <linux@roeck-us.net>
Mon, 17 Aug 2015 13:21:01 +0000 (06:21 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 17 Aug 2015 23:34:02 +0000 (16:34 -0700)
commit00c83371911836c47654e1de5b4706a0e578922a
tree5d919b6aec4c4c13fb911a430875e12d40558bce
parentee847a252664f54d06bcc6ab2864322cbcb52692
hwmon: (ltc2978) Use correct ID mask to detect all chips

Per information from Linear Technologies, the ID mask is 12 bit
for all chips of this series. Use this mask to detect chips to ensure
that all chip revisions are detected.

Suggested-by: Michael Jones <mike@proclivis.com>
Tested-by: Michael Jones <mike@proclivis.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ltc2978.c