hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 12 Mar 2011 02:09:33 +0000 (18:09 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 19 May 2011 15:19:37 +0000 (08:19 -0700)
This commit replaces hard-coded sensor and limit register detection code
with table based sensor detection. This change eliminates code block repetition
and reduces code size.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Tom Grennan <tom.grennan@ericsson.com>

No differences found