diff options
Diffstat (limited to 'drivers/power/pmic/pm8916.c')
-rw-r--r-- | drivers/power/pmic/pm8916.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/pm8916.c b/drivers/power/pmic/pm8916.c index 3632ee2d1e..a048bbe7ce 100644 --- a/drivers/power/pmic/pm8916.c +++ b/drivers/power/pmic/pm8916.c @@ -70,7 +70,7 @@ static int pm8916_probe(struct udevice *dev) { struct pm8916_priv *priv = dev_get_priv(dev); - priv->usid = devfdt_get_addr(dev); + priv->usid = dev_read_addr(dev); if (priv->usid == FDT_ADDR_T_NONE) return -EINVAL; |