From: Simon Glass Date: Wed, 4 Nov 2020 16:57:42 +0000 (-0700) Subject: x86: pinctrl: Silence the warning when a pin is not found X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=dd27cd6dab40765797962df500bda8eab6e665f5;p=u-boot.git x86: pinctrl: Silence the warning when a pin is not found This does not necessarily indicate a problem, since some pins are optional. Let the caller show an error if necessary. Reviewed-by: Bin Meng Signed-off-by: Simon Glass --- diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c index ba21c9dcc2..e3d2464634 100644 --- a/drivers/pinctrl/intel/pinctrl.c +++ b/drivers/pinctrl/intel/pinctrl.c @@ -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; }