1
0
Fork 0

hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers

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>
hifive-unleashed-5.1
Guenter Roeck 2011-03-11 18:09:33 -08:00
parent f5bae2642e
commit b4ce237b7f
1 changed files with 444 additions and 537 deletions

File diff suppressed because it is too large Load Diff