pinctrl: stm32: don't print an error on probe deferral during clock get
authorEtienne Carriere <etienne.carriere@st.com>
Mon, 15 Jun 2020 12:54:06 +0000 (14:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Jun 2020 21:05:18 +0000 (23:05 +0200)
commitd888229ef2fbc9557cbf953fa8e2687550f5308b
treedc88a02333391ac37f55cb0b38ac36716771eb1f
parentb5fc06a10e7aea88c9a9efd4547a3aee44138e3e
pinctrl: stm32: don't print an error on probe deferral during clock get

Change STM32 pinctrl driver to not print an error trace when probe is
deferred due to clock resource. Probe defer issue (for clocks) could
occur during bank registering when some banks have already been registered.
In this case banks already registered should be released. To not waste time
in this case, it is better to check first if all clocks are available
before registering banks.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Link: https://lore.kernel.org/r/20200615125407.27632-2-alexandre.torgue@st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c