hwmon: (pmbus) Support reading and writing of word registers in device specific code
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 8 Jul 2011 17:41:24 +0000 (10:41 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 28 Jul 2011 23:55:13 +0000 (16:55 -0700)
commit46243f3ab44ad0d2e9ca62e6485ca433659f3881
tree93b542f63ff4de15f1ddf25c842ff326287a15f7
parent2bd05bf4d2a5807dcc1c52788b842827e5ef0ee9
hwmon: (pmbus) Support reading and writing of word registers in device specific code

Some PMBus devices use non-standard registers for some of the sensors and/or
limits. To support such devices, add code to support reading and writing of word
size registers in device specific code.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
drivers/hwmon/pmbus/pmbus.h
drivers/hwmon/pmbus/pmbus_core.c