]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pinctrl: print error message with dev_err() instead of dev_dbg()
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 16 Jun 2020 07:01:04 +0000 (09:01 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 16 Jun 2020 08:18:44 +0000 (10:18 +0200)
drivers/pinctrl/pinctrl-uclass.c

index d96c201e8316b7ae8e950eba0d807aa5fe1403f9..4b250e14a93ce424b6caef75b3978859c2199027 100644 (file)
@@ -217,7 +217,7 @@ static int pinctrl_post_bind(struct udevice *dev)
        const struct pinctrl_ops *ops = pinctrl_get_ops(dev);
 
        if (!ops) {
        const struct pinctrl_ops *ops = pinctrl_get_ops(dev);
 
        if (!ops) {
-               dev_dbg(dev, "ops is not set.  Do not bind.\n");
+               dev_err(dev, "ops is not set.  Do not bind.\n");
                return -EINVAL;
        }
 
                return -EINVAL;
        }