]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4af375ee596474d025c5bbd7c96dac8f7a41634a
tree93b542f63ff4de15f1ddf25c842ff326287a15f7
parentdf73eef737667ffb12fe59a460a6ebc531b0cc9e
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