On 04/08/2021 12:41, Alexandre Belloni wrote: > Clear the RTC_FEATURE_ALARM bit to signal to the core when alarms are not > available to ensure the alarm callbacks are never called and userspace is > aware alarms are not supported. > > Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> > --- > drivers/rtc/rtc-s5m.c | 27 +++++++++++---------------- > 1 file changed, 11 insertions(+), 16 deletions(-) > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> Best regards, Krzysztof