x86: pinctrl: Silence the warning when a pin is not found
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:42 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:33 +0000 (09:51 +0800)
This does not necessarily indicate a problem, since some pins are
optional. Let the caller show an error if necessary.
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/intel/pinctrl.c

index ba21c9d..e3d2464 100644 (file)
@@ -154,7 +154,7 @@ static int pinctrl_get_device(uint pad, struct udevice **devp)
                        return 0;
                }
        }
-       printf("pad %d not found\n", pad);
+       log_debug("pad %d not found\n", pad);
 
        return -ENOTBLK;
 }