diff options
author | 2021-01-25 10:53:26 -0800 | |
---|---|---|
committer | 2021-01-29 09:20:31 -0800 | |
commit | 220c404dc7a5f94779db741fa96cb63ef03b6d08 (patch) | |
tree | 599433e07d2cfeae0cb7918d11960d652f67fe97 /lib/test_bitmap.c | |
parent | hwmon: (pmbus) Simplify the calculation of variables (diff) | |
download | linux-dev-220c404dc7a5f94779db741fa96cb63ef03b6d08.tar.xz linux-dev-220c404dc7a5f94779db741fa96cb63ef03b6d08.zip |
hwmon: (pmbus/max16601) Determine and use number of populated phases
The MAX16601 can report the number of populated phases. Use this
information to only create sysfs attributes for populated phases.
Cc: Alex Qiu <xqiu@google.com>
Cc: Ugur Usug <Ugur.Usug@maximintegrated.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210125185327.93282-1-linux@roeck-us.net
Reviewed-by: Alex Qiu <xqiu@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions