rtc: test: emulate alarms using timers
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 31 May 2018 21:09:58 +0000 (23:09 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 31 May 2018 21:13:29 +0000 (23:13 +0200)
commit8be09029940227d30ae310bb3fe25bc8abbfe140
tree82ba4eca323f49b6c672754d69a3356cff3c01e4
parent4dc2403bed0dbc18d90cc637337eebfc1e939c72
rtc: test: emulate alarms using timers

Use timers to emulate alarms. Note that multiple alarms may happen if they
are set more than 15 days after the current RTC time.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-test.c