Re: [PATCH 31/32] x86: pinctrl: Silence the warning when a pin is not found

2020-10-16 Thread Bin Meng
On Mon, Sep 28, 2020 at 12:26 PM Simon Glass  wrote:
>
> This does not necessarily indicate a problem, since some pins are
> optional. Let the caller show an error if necessary.
>
> Signed-off-by: Simon Glass 
> ---
>
>  drivers/pinctrl/intel/pinctrl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng 


[PATCH 31/32] x86: pinctrl: Silence the warning when a pin is not found

2020-09-27 Thread Simon Glass
This does not necessarily indicate a problem, since some pins are
optional. Let the caller show an error if necessary.

Signed-off-by: Simon Glass 
---

 drivers/pinctrl/intel/pinctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c
index ba21c9dcc2e..e3d24646344 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;
 }
-- 
2.28.0.681.g6f77f65b4e-goog