hwmon: (pmbus) Add get_voltage/set_voltage ops
authorMårten Lindahl <marten.lindahl@axis.com>
Tue, 3 May 2022 10:46:31 +0000 (12:46 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 May 2022 18:32:31 +0000 (11:32 -0700)
commit28bf22ef93eceb42c7583f0909bc9dedc07770e3
tree289ef85cc08109f1aabbf9a5ec81927567fb5c7a
parent3aa74796cfd038310f68c7e67c804224e5b43809
hwmon: (pmbus) Add get_voltage/set_voltage ops

The pmbus core does not have operations for getting or setting voltage.
Add functions get/set voltage for the dynamic regulator framework.

Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20220503104631.3515715-5-marten.lindahl@axis.com
[groeck: cosmetic alignment / empty line fixes]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c