diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-04-18 02:00:21 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-04-29 23:04:13 +0200 |
commit | 64e9d8e4dbc4e9173589ed8d61ea423466172396 (patch) | |
tree | 3d651beaa681bcc19cdc1bffef290f5d0a57dfb7 /drivers/rtc/rtc-ds1553.c | |
parent | rtc: imx-sc: remove .read_alarm (diff) | |
download | linux-64e9d8e4dbc4e9173589ed8d61ea423466172396.tar.xz linux-64e9d8e4dbc4e9173589ed8d61ea423466172396.zip |
rtc: ds1307: replace HAS_ALARM by RTC_FEATURE_ALARM
The core now has RTC_FEATURE_ALARM for the driver to indicate whether
alarms are available. Use that instead of HAS_ALARM to ensure the alarm
callbacks are not even called.
Tested-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210418000023.995758-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions