gpio: pch: Get rid of unneeded variable in IRQ handler
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 Apr 2020 17:48:58 +0000 (20:48 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Apr 2020 17:40:14 +0000 (20:40 +0300)
commit5a4245de48d87f9300c3cac7c62e1af18916fb22
treed3ec0feebfa245b4ae1ab351c91557932907171f
parent5c85418ab35bc84d33947e45b2e0ffe55aa8a484
gpio: pch: Get rid of unneeded variable in IRQ handler

There is no need to have an additional variable in IRQ handler. We may simple
rely on the fact of having non-zero register value we read from the hardware.

While here, drop repetitive messages in time critical function.

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