hwmon: (pmbus) Improve support for paged temperature sensors
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 6 Mar 2011 18:56:52 +0000 (10:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:39:09 +0000 (22:39 -0700)
commitb49547a5df96bc755d6f96abb8503678af49d91c
treec7b09bb99d93bbb3becf765ce2103c38c321ba1a
parent954df6763cd84551a565a0c341d3401cf30b9d2d
hwmon: (pmbus) Improve support for paged temperature sensors

Assumption so far was that PMBus devices would support TEMP2 and TEMP3 registers
only on page 0, and that only the TEMP1 register would be used/supported
on other pages.

Turns out that is not correct. UCD92xx devices support TEMP1 and TEMP2 on
page 0, and TEMP2 on other pages. So it is necessary to change the core code
such that it does not make a page based assumptions about temperature register
support.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pmbus_core.c