Skip to content
Commit 64e9d8e4 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarŁukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: default avatarŁukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210418000023.995758-1-alexandre.belloni@bootlin.com
parent 7942121b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment