diff options
Diffstat (limited to 'drivers/pinctrl/mscc/pinctrl-jr2.c')
-rw-r--r-- | drivers/pinctrl/mscc/pinctrl-jr2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/mscc/pinctrl-jr2.c b/drivers/pinctrl/mscc/pinctrl-jr2.c index fc730b7..6de7a41 100644 --- a/drivers/pinctrl/mscc/pinctrl-jr2.c +++ b/drivers/pinctrl/mscc/pinctrl-jr2.c @@ -299,8 +299,8 @@ static int jr2_pinctrl_probe(struct udevice *dev) if (ret) return ret; - ret = device_bind_offset(dev, &jr2_gpio_driver, "jr2-gpio", NULL, - dev_of_offset(dev), NULL); + ret = device_bind(dev, &jr2_gpio_driver, "jr2-gpio", NULL, + dev_ofnode(dev), NULL); if (ret) return ret; |