rtc: max77686: Use REGMAP_IRQ_REG for regmap-rtc-irqs initialisation
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Mar 2016 08:36:25 +0000 (14:06 +0530)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:27 +0000 (17:08 +0100)
commit7e84536cb9ffb6562b3a2584c7454104e750e01a
treea6ec27d75b7897ca1c6e66868d7eb7376b5bff5f
parent726fe738bd5cc5deba86d7e621505392c0f7961f
rtc: max77686: Use REGMAP_IRQ_REG for regmap-rtc-irqs initialisation

Use macro REGMAP_IRQ_REG from regmap.h to initialise the
regmap irq table for max77686 to have better coding style
and improve readability.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-max77686.c