On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ
populated by default. Add irq optional support.
v1->v2:
* Make RTC patch series separate from dt patches.
* Propagated real errors for platform_get_irq_byname_optional().
* Cleared ALARM feature bit for non-irq case.
* Added Rb tag from Geert for patch#2 and #3
* Restored dev_err() for devm_request_threaded_irq() as an RTC can wake
up a system without an IRQ.
Biju Das (3):
rtc: da9063: Make IRQ as optional
rtc: da9063: Use device_get_match_data()
rtc: da9063: Use dev_err_probe()
drivers/rtc/rtc-da9063.c | 89 ++++++++++++++++++----------------------
1 file changed, 41 insertions(+), 48 deletions(-)