mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Reviewed-by: Tom Grennan <[email protected]>
This commit is contained in:
parent
f5bae2642e
commit
b4ce237b7f
1 changed files with 421 additions and 514 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue