]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pinctrl: nexell: Use dev_read_addr()
authorPeng Fan <peng.fan@nxp.com>
Mon, 25 May 2026 04:00:33 +0000 (12:00 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jun 2026 20:53:34 +0000 (14:53 -0600)
Use dev_read_addr() which supports both live device tree and flat DT
backends, avoiding direct dependency on devfdt_* helpers.

No functional changes.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/pinctrl/nexell/pinctrl-nexell.c

index af1acd91649fbe886be059ba8a2371d65900a83b..bd89e779864f3d275de61a7ef95a0a5741f02e2a 100644 (file)
@@ -49,7 +49,7 @@ int nexell_pinctrl_probe(struct udevice *dev)
        if (!priv)
                return -EINVAL;
 
-       base = devfdt_get_addr(dev);
+       base = dev_read_addr(dev);
        if (base == FDT_ADDR_T_NONE)
                return -EINVAL;