commit | 64e9d8e4dbc4e9173589ed8d61ea423466172396 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Sun Apr 18 02:00:21 2021 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Apr 29 23:04:13 2021 +0200 |
tree | 3d651beaa681bcc19cdc1bffef290f5d0a57dfb7 | |
parent | 7942121b8ca073932529e7122a573ec2d1ed0d93 [diff] |
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