]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: Update for new sequence numbers
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:25 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
Use the dev_seq() sequence number in all cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/exynos/pinctrl-exynos.c

index 4cdc071d559db6560b6a18885ccddcb6d910f491..64d78213a86ec8d89529281f742d670cd1a313e3 100644 (file)
@@ -133,7 +133,7 @@ int exynos_pinctrl_probe(struct udevice *dev)
 
        priv->base = base;
        priv->pin_ctrl = (struct samsung_pin_ctrl *)dev_get_driver_data(dev) +
-                               dev->req_seq;
+                               dev_seq(dev);
 
        return 0;
 }