summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-29 03:50:04 +0300
committerSimon Glass <sjg@chromium.org>2020-12-13 17:58:18 +0300
commit20da4e023175b91cefab4afe4d64fcab4a2fa873 (patch)
tree9718002d42ee983a7d7f16e914b8623bab7d5d54 /drivers/pinctrl
parenta2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64 (diff)
downloadu-boot-20da4e023175b91cefab4afe4d64fcab4a2fa873.tar.xz
dm: Drop uses of dev_set_of_offset()
The need for this can be avoided by passing the correct node to the device_bind() function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/meson/pinctrl-meson.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/meson/pinctrl-meson.c b/drivers/pinctrl/meson/pinctrl-meson.c
index c35e4c42a0..37bddb14e0 100644
--- a/drivers/pinctrl/meson/pinctrl-meson.c
+++ b/drivers/pinctrl/meson/pinctrl-meson.c
@@ -422,7 +422,6 @@ int meson_pinctrl_probe(struct udevice *dev)
/* Create child device UCLASS_GPIO and bind it */
device_bind(dev, priv->data->gpio_driver, name, NULL,
offset_to_ofnode(gpio), &gpio_dev);
- dev_set_of_offset(gpio_dev, gpio);
return 0;
}