Re: [PATCH 1/3] rtc: ds1307: replace HAS_ALARM by RTC_FEATURE_ALARM

2021-04-02 Thread Ɓukasz Stelmach
It was <2021-03-30 wto 02:03>, when Alexandre Belloni wrote: > 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. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/

[PATCH 1/3] rtc: ds1307: replace HAS_ALARM by RTC_FEATURE_ALARM

2021-03-29 Thread Alexandre Belloni
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. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 42 +++- 1 file changed