pinctrl: st: Convert to use dev_err_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Nov 2021 12:42:39 +0000 (14:42 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Nov 2021 16:40:10 +0000 (18:40 +0200)
commit3d4d3e0a7d67a9d49fb661c6ea3b51fc3696030f
treede8713d7154243e66a478d46867775d5dbac171f
parent3809671d95a1c400ecf8235d1dc3e5b352aee242
pinctrl: st: Convert to use dev_err_probe()

It's fine to call dev_err_probe() in ->probe() when error code is known.
Convert the driver to use dev_err_probe().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c