pinctrl: intel: Make use of IRQ_RETVAL()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 12 Jun 2020 14:49:56 +0000 (17:49 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Jun 2020 07:58:51 +0000 (10:58 +0300)
commit86851bbce1a332b0658519386041fe430f4e9e39
treecfe319f438a032a30f5eb5b168dd0e973c9ca8b6
parentf62cdde5483957fc28249a9fc691e892e6b38e85
pinctrl: intel: Make use of IRQ_RETVAL()

Instead of using bitwise operations against returned values,
which is a bit fragile, convert IRQ handler to count amount of
GPIO groups, where at least one interrupt happened, and convert
it to returned value by IRQ_RETVAL() macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c