hwmon: (pmbus/core) Add rdev in pmbus_data struct
authorNaresh Solanki <naresh.solanki@9elements.com>
Tue, 28 Mar 2023 15:03:33 +0000 (17:03 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:39 +0000 (07:08 -0700)
commitffe36eb557d375ff7667d249aecdf08ed5acf55d
tree6f3e2b63f120078cc9ac976f691594c46f232b32
parent7f2958e845d2c8bf1100dc088dbdc31af2a80fd0
hwmon: (pmbus/core) Add rdev in pmbus_data struct

Add regulator device in pmbus_data & initialize the same during PMBus
regulator register.

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