The need for this can be avoided by passing the correct node to the device_bind() function.
Signed-off-by: Simon Glass <s...@chromium.org> --- drivers/gpio/mt7621_gpio.c | 3 +-- drivers/gpio/s5p_gpio.c | 4 +--- drivers/gpio/sunxi_gpio.c | 3 +-- drivers/gpio/tegra186_gpio.c | 3 +-- drivers/gpio/tegra_gpio.c | 5 ++--- drivers/pinctrl/meson/pinctrl-meson.c | 1 - 6 files changed, 6 insertions(+), 13 deletions(-) Applied to u-boot-dm, thanks!