hwmon: (pmbus/lm25066) Use PMBUS_REGULATOR_ONE to declare regulator
authorGuenter Roeck <linux@roeck-us.net>
Fri, 23 Feb 2024 16:21:08 +0000 (16:21 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:46 +0000 (12:37 -0800)
commit8f832d23ead3108eb74afffb5def676f8cebf35c
tree8bf94d940e4c81da5397db9871e867e404cb575b
parent8be143b978717ce953c1c42cc57c36cd543334a4
hwmon: (pmbus/lm25066) Use PMBUS_REGULATOR_ONE to declare regulator

If a chip only provides a single regulator, it should be named 'vout'
and not 'vout0'. Declare regulator using PMBUS_REGULATOR_ONE() to make
that happen.

Cc: Conor Dooley <conor@kernel.org>
Cc: Naresh Solanki <naresh.solanki@9elements.com>
Cc: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240223-player-buckskin-01405c5889c4@spud
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/lm25066.c