diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-29 03:50:03 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 17:58:18 +0300 |
commit | a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64 (patch) | |
tree | 3b1e2e1d33b9e0bc9120be2cee4c6ca966876857 /drivers/gpio/s5p_gpio.c | |
parent | 0de1b07406d709c3951dbb1a69ca196d80bd516d (diff) | |
download | u-boot-a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64.tar.xz |
dm: Remove uses of device_bind_offset()
This function is not needed since the standard device_bind() can be used
instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/s5p_gpio.c')
-rw-r--r-- | drivers/gpio/s5p_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c index 4f9fedd612..d6054c4a6d 100644 --- a/drivers/gpio/s5p_gpio.c +++ b/drivers/gpio/s5p_gpio.c @@ -332,8 +332,8 @@ static int gpio_exynos_bind(struct udevice *parent) return -ENOMEM; plat->bank_name = fdt_get_name(blob, node, NULL); - ret = device_bind_offset(parent, parent->driver, - plat->bank_name, plat, -1, &dev); + ret = device_bind(parent, parent->driver, plat->bank_name, plat, + ofnode_null(), &dev); if (ret) return ret; |