commit | b4ce237b7f7d31abe9c5b0c443a64573ace4933d | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Fri Mar 11 18:09:33 2011 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu May 19 08:19:37 2011 -0700 |
tree | 6ae60cea8d12d642303cfa60789130223d74cbd4 | |
parent | f5bae2642e3df716d2bb7bcffdf51e7a286e885e [diff] |
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>