hwmon: (pmbus) Add support for word status register
authorGuenter Roeck <linux@roeck-us.net>
Sat, 19 May 2012 18:35:25 +0000 (11:35 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:58:05 +0000 (09:58 -0800)
commit16c6d01f3b21bd35526cccbe37010a906072a590
tree99caa5e9d4eac581a277e2ab4b2342012021e4f2
parent1640eaecc4c5f62c73a87445a55c0f0cbe3b4579
hwmon: (pmbus) Add support for word status register

Not all PMBus devices support the byte status register at 0x78.
Try to use the word status register at 0x79 instead if that is the case.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c