mfd: da9063: Get irq base dynamically before registering device
authorDmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Fri, 21 Nov 2014 15:29:07 +0000 (18:29 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:19:24 +0000 (16:19 +0000)
commit439b8bddaa1ebed9f9f8fb2f6f33f5e639d76ab8
tree9bc05f4c1f87de1a36a343d69b826689a2a09b95
parent2c20f6de95afef89127163d16c88cd0456c48077
mfd: da9063: Get irq base dynamically before registering device

After registering mfd device with proper irq_base
platform_get_irq_byname() calls will return VIRQ instead of local IRQ.
This fixes da9063 rtc registration issue:
da9063-rtc da9063-rtc: Failed to request ALARM IRQ 1: -22

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9063-core.c