diff options
Diffstat (limited to 'drivers/pinctrl/mscc/pinctrl-serval.c')
-rw-r--r-- | drivers/pinctrl/mscc/pinctrl-serval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/mscc/pinctrl-serval.c b/drivers/pinctrl/mscc/pinctrl-serval.c index 93b31d20..2cef5df 100644 --- a/drivers/pinctrl/mscc/pinctrl-serval.c +++ b/drivers/pinctrl/mscc/pinctrl-serval.c @@ -209,8 +209,8 @@ static int serval_pinctrl_probe(struct udevice *dev) if (ret) return ret; - ret = device_bind_offset(dev, &serval_gpio_driver, "serval-gpio", NULL, - dev_of_offset(dev), NULL); + ret = device_bind(dev, &serval_gpio_driver, "serval-gpio", NULL, + dev_ofnode(dev), NULL); if (ret) return ret; |