[RFC 6/6] power: s2pms11: change the subnode name to regulators
Jaehoon Chung
jh80.chung at samsung.com
Thu Jan 13 09:39:28 CET 2022
Change the subnode name from voltage-regulators to regulators.
Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
---
drivers/power/pmic/s2mps11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pmic/s2mps11.c b/drivers/power/pmic/s2mps11.c
index 1ba1640a8df3..4098a2bed671 100644
--- a/drivers/power/pmic/s2mps11.c
+++ b/drivers/power/pmic/s2mps11.c
@@ -52,7 +52,7 @@ static int s2mps11_probe(struct udevice *dev)
ofnode regulators_node;
int children;
- regulators_node = dev_read_subnode(dev, "voltage-regulators");
+ regulators_node = dev_read_subnode(dev, "regulators");
if (!ofnode_valid(regulators_node)) {
debug("%s: %s regulators subnode not found!\n", __func__,
dev->name);
--
2.29.0
More information about the U-Boot
mailing list