diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-09 17:22:33 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-23 19:58:38 +0100 |
commit | 5c0a04a663019dd14cb000d370cff0ced6df7ef1 (patch) | |
tree | 64fb700a923fb3161269fa141237583a6814e70f /include/linux/rtc | |
parent | 9e02e8032ae546c75b3bbb5c821eb11bdec286ad (diff) |
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
Diffstat (limited to 'include/linux/rtc')
-rw-r--r-- | include/linux/rtc/ds1685.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc/ds1685.h b/include/linux/rtc/ds1685.h index 67ee9d20cc5a..5a41c3bbcbe3 100644 --- a/include/linux/rtc/ds1685.h +++ b/include/linux/rtc/ds1685.h @@ -46,7 +46,6 @@ struct ds1685_priv { u32 regstep; int irq_num; bool bcd_mode; - bool no_irq; u8 (*read)(struct ds1685_priv *, int); void (*write)(struct ds1685_priv *, int, u8); void (*prepare_poweroff)(void); |