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 <bmeng.cn@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user