aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-28 17:50:01 -0700
committerSimon Glass <sjg@chromium.org>2020-12-13 07:58:18 -0700
commit734206dda14b328bfb946eea1e343f06a5fcceea (patch)
tree5c128cef80a0e3df8d4fff20653c790eba4bb3f9 /drivers/gpio
parente12052b3227bb0d77125970dc9f731e052b1c730 (diff)
downloadu-boot-734206dda14b328bfb946eea1e343f06a5fcceea.zip
u-boot-734206dda14b328bfb946eea1e343f06a5fcceea.tar.gz
u-boot-734206dda14b328bfb946eea1e343f06a5fcceea.tar.bz2
dm: core: Rename device_bind_ofnode() to device_bind()
This is the standard function to use when binding devices. Drop the '_ofnode' suffix to make this clear. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/dwapb_gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c
index 37916e7..cf20a50 100644
--- a/drivers/gpio/dwapb_gpio.c
+++ b/drivers/gpio/dwapb_gpio.c
@@ -202,8 +202,8 @@ static int gpio_dwapb_bind(struct udevice *dev)
}
}
- ret = device_bind_ofnode(dev, dev->driver, plat->name,
- plat, node, &subdev);
+ ret = device_bind(dev, dev->driver, plat->name, plat, node,
+ &subdev);
if (ret)
return ret;