rtc: expose RTC_FEATURE_UPDATE_INTERRUPT
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:23:36 +0000 (17:23 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:25:52 +0000 (17:25 +0200)
commitadb17a053e460f20740d713c4843d6966e66b1b1
tree1009fe609d9a5eed07c5d4afd780926f97b448cf
parent7d7234a4fff395ab17b021ec18f852e8ec8703b3
rtc: expose RTC_FEATURE_UPDATE_INTERRUPT

Set RTC_FEATURE_UPDATE_INTERRUPT by default and clear it when it is not
supported.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211018152337.78732-1-alexandre.belloni@bootlin.com
drivers/rtc/class.c
drivers/rtc/interface.c