dm: add debug message when failed to select the default pinctrl
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 19 Nov 2021 09:02:27 +0000 (10:02 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 1 Dec 2021 18:33:45 +0000 (13:33 -0500)
commitaf13df7014d7dc78b5461b65de78ca5096e5701c
treed4e3ade19a8c2f0b90867c451d1abb8f747ca555
parent1c01712ac409b06feb36dcac13285e621a700c4e
dm: add debug message when failed to select the default pinctrl

Add a message on probe in driver model core when the default
pinctrl selection failed.

This message is displayed only when the pinctrl API is
implemented, i.e. when result is not ENOSYS.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c