]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8025: clear RTC_FEATURE_ALARM when alarm are not supported
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Nov 2021 22:54:55 +0000 (23:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:45:57 +0000 (00:45 +0100)
commitb55d81eb630beb268c3544f5c4a9298f9ea9d3d1
tree4adf67ce64358848fc0be900ce010cf9e94e6980
parent69e76b9ce8402bd8199b866145fc3f12092f30ce
rtc: rx8025: clear RTC_FEATURE_ALARM when alarm are not supported

Clear RTC_FEATURE_ALARM to signal alarms are not supported to the core
instead of checking client->irq.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211107225458.111068-10-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rx8025.c