summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/pwr_regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/pwr_regulator.c')
-rw-r--r--arch/arm/mach-stm32mp/pwr_regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/pwr_regulator.c b/arch/arm/mach-stm32mp/pwr_regulator.c
index af6ea439646..766ed95f1a6 100644
--- a/arch/arm/mach-stm32mp/pwr_regulator.c
+++ b/arch/arm/mach-stm32mp/pwr_regulator.c
@@ -81,7 +81,7 @@ static int stm32mp_pwr_bind(struct udevice *dev)
{
int children;
- children = pmic_bind_children(dev, dev->node, pwr_children_info);
+ children = pmic_bind_children(dev, dev_ofnode(dev), pwr_children_info);
if (!children)
dev_dbg(dev, "no child found\n");