diff options
Diffstat (limited to 'drivers/pinctrl/mscc/pinctrl-luton.c')
-rw-r--r-- | drivers/pinctrl/mscc/pinctrl-luton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/mscc/pinctrl-luton.c b/drivers/pinctrl/mscc/pinctrl-luton.c index 4fb1798..0adeef9 100644 --- a/drivers/pinctrl/mscc/pinctrl-luton.c +++ b/drivers/pinctrl/mscc/pinctrl-luton.c @@ -165,8 +165,8 @@ int luton_pinctrl_probe(struct udevice *dev) if (ret) return ret; - ret = device_bind_offset(dev, &luton_gpio_driver, "luton-gpio", NULL, - dev_of_offset(dev), NULL); + ret = device_bind(dev, &luton_gpio_driver, "luton-gpio", NULL, + dev_ofnode(dev), NULL); return 0; } |