hwmon: (pmbus/ltc2978) Fix temperature reporting
authorGuenter Roeck <linux@roeck-us.net>
Thu, 21 Feb 2013 18:27:54 +0000 (10:27 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 14 Mar 2013 16:03:51 +0000 (09:03 -0700)
commit8c958c703ef8804093437959221951eaf0e1e664
tree6953ff3e893d992f4bc20b4827507c283d98e47b
parent6975404fb9bcc3ca41946ce0506f97db30fb8705
hwmon: (pmbus/ltc2978) Fix temperature reporting

On LTC2978, only READ_TEMPERATURE is supported. It reports
the internal junction temperature. This register is unpaged.

On LTC3880, READ_TEMPERATURE and READ_TEMPERATURE2 are supported.
READ_TEMPERATURE is paged and reports external temperatures.
READ_TEMPERATURE2 is unpaged and reports the internal junction
temperature.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # 3.2+
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/pmbus/ltc2978.c