gpio: pch: Use dev_err_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 May 2022 17:21:29 +0000 (20:21 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Jun 2022 15:01:10 +0000 (18:01 +0300)
commitd3bb436deb78478bde129a322ca2f6e75716f4de
tree92497885a4ef42b6c6595e7a969c8a0510510233
parentb93a8b2c5161696e732185311d309e0aaf0575be
gpio: pch: Use dev_err_probe()

Simplify the error path in ->probe() a bit by using dev_err_probe().

While at it, correct the messages since the called function were changed
in the past.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-pch.c