rtc: isl1208: Add "evdet" interrupt source for isl1219
authorDenis Osterland <Denis.Osterland@diehl.com>
Tue, 24 Jul 2018 11:31:21 +0000 (11:31 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 14 Aug 2018 21:03:19 +0000 (23:03 +0200)
commit9ece7cd833a3e5e0740e2b681abe6ce5e6af6885
treec7b15f7b52a75088a10a7ae7c2cef9d83e9adfab
parentdd35bdb0768f1d03b043c4ba704fe9760eaa5891
rtc: isl1208: Add "evdet" interrupt source for isl1219

Add support for "evdet" named interrupt source.

The check if i2c client irq matches evdet irq is needed
for the case that there is only one interrupt named "evdet".
In this case i2c client code handles this like an unnamed
interrupt souce and assigns the value.

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Reviewed-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c