rtc: ds1685: drop no_irq
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:33 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:38 +0000 (19:58 +0100)
commit5c0a04a663019dd14cb000d370cff0ced6df7ef1
tree64fb700a923fb3161269fa141237583a6814e70f
parent9e02e8032ae546c75b3bbb5c821eb11bdec286ad
rtc: ds1685: drop no_irq

No platforms are currently setting no_irq. Anyway, letting platform_get_irq
fail is fine as this means that there is no IRQ. In that case, clear
RTC_FEATURE_ALARM so the core knows there are no alarms.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-2-alexandre.belloni@bootlin.com
drivers/rtc/rtc-ds1685.c
include/linux/rtc/ds1685.h