diff options
Diffstat (limited to 'drivers/power/pmic/palmas.c')
-rw-r--r-- | drivers/power/pmic/palmas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/palmas.c b/drivers/power/pmic/palmas.c index 0ab425e5dc..f5a23073c4 100644 --- a/drivers/power/pmic/palmas.c +++ b/drivers/power/pmic/palmas.c @@ -49,7 +49,7 @@ static int palmas_bind(struct udevice *dev) int pmic_node = -1, regulators_node; const void *blob = gd->fdt_blob; int children; - int node = dev->of_offset; + int node = dev_of_offset(dev); int subnode, len; fdt_for_each_subnode(subnode, blob, node) { |