diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-28 17:50:04 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 07:58:18 -0700 |
commit | 20da4e023175b91cefab4afe4d64fcab4a2fa873 (patch) | |
tree | 9718002d42ee983a7d7f16e914b8623bab7d5d54 /drivers/pinctrl | |
parent | a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64 (diff) | |
download | u-boot-20da4e023175b91cefab4afe4d64fcab4a2fa873.tar.gz |
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.c | 1 |
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; } |