hwmon: (pmbus/core) Add regulator event support
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 28 Mar 2023 15:03:34 +0000 (17:03 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:39 +0000 (07:08 -0700)
commitf74f06f4069ec008cec62574a55415c4567f8acf
treed817421ef8515bd83670a1e7883d3305a9a8a4ca
parentffe36eb557d375ff7667d249aecdf08ed5acf55d
hwmon: (pmbus/core) Add regulator event support

Add regulator events corresponding to regulator error in regulator flag
map.
Also capture the same in pmbus_regulator_get_flags.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Link: https://lore.kernel.org/r/20230328150335.90238-2-Naresh.Solanki@9elements.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c