pinctrl: sunxi: do not print error message for EPROBE_DEFER
authorMans Rullgard <mans@mansr.com>
Thu, 17 Feb 2022 13:17:37 +0000 (13:17 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 19 Feb 2022 01:09:07 +0000 (02:09 +0100)
commitf3d6c538c3dacd2c4c5aea0b2f8add3acc423875
tree7054e7e4420621effd5f01dc1d9a70abc50a1ded
parentfbfc5fc3518f7e74e03c009acbd0b6c6547d395d
pinctrl: sunxi: do not print error message for EPROBE_DEFER

Avoid printing an error message if getting a regulator fails with
EPROBE_DEFER.  This can happen if, for example, a regulator supplying
one of the main banks is controlled by a PL pin.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20220217131737.10931-1-mans@mansr.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c