diff options
| author | Peng Fan <[email protected]> | 2026-05-25 12:00:32 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-09 14:53:34 -0600 |
| commit | ef6b3ccf598820f53b79de452175b912a85ed850 (patch) | |
| tree | f84f53196eca2f8c373b8f6777259a7c36ffa12a | |
| parent | 55550b429291b7c46a65a1864c49f25c2ed1a6a3 (diff) | |
pinctrl: at91: Use dev_read_addr_index()
Use dev_read_addr_index() which supports both live device tree and flat
DT backends, avoiding direct dependency on devfdt_* helpers.
No functional changes.
Signed-off-by: Peng Fan <[email protected]>
| -rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 2938635ed95..50a130d700f 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -527,7 +527,7 @@ static int at91_pinctrl_probe(struct udevice *dev) if (list_empty(&dev->child_head)) { for (index = 0; index < MAX_GPIO_BANKS; index++) { - addr_base = devfdt_get_addr_index(dev, index); + addr_base = dev_read_addr_index(dev, index); if (addr_base == FDT_ADDR_T_NONE) break; |
