gpio: wcove: Split error handling for CTRL and IRQ registers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 20 May 2021 12:17:15 +0000 (15:17 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 20 May 2021 12:20:52 +0000 (15:20 +0300)
commit2b71b66ac0415db5e4b9e67b11e3af7b485bb421
tree2072bea53678ad4e0a2d1651de0698a01a09ab25
parent5d9936648285b8ccb6b61257dd2ddd76f9cd719a
gpio: wcove: Split error handling for CTRL and IRQ registers

The wcove_gpio_dbg_show() uses one message to all possible error reads.
Split it to two for CTRL and IRQ registers.

While at it, switch to use dev_err() instead of pr_err().

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