[PATCH v2 0/3] Devicetree support for regulator-virtual-consumer

From: Vincent Whitchurch
Date: Tue Mar 01 2022 - 06:18:54 EST


This series adds devicetree support for drivers/regulator/virtual.c which is
useful for development and testing of regulator drivers.

v2:
- Only use the "default" supply name if dt
- Add a comment explaining the "default" supply name
- Add patch which warns against production use of this driver
- Add patch to use dev_err_probe

Vincent Whitchurch (3):
regulator: virtual: use dev_err_probe()
regulator: virtual: warn against production use
regulator: virtual: add devicetree support

drivers/regulator/virtual.c | 41 +++++++++++++++++++++++++++++++------
1 file changed, 35 insertions(+), 6 deletions(-)

--
2.34.1