]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bc524f881e78262e6c98d30479ca2c9a16475ca
tree64fb700a923fb3161269fa141237583a6814e70f
parenta3289260d7a5f96dee03cbed3d3d91f8bb30dae1
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