Skip to content
Snippets Groups Projects
Commit b4ce237b authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: default avatarTom Grennan <tom.grennan@ericsson.com>
parent f5bae264
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment