]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: test: store time as an offset to system time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 31 May 2018 21:09:57 +0000 (23:09 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 31 May 2018 21:13:28 +0000 (23:13 +0200)
commit4dc2403bed0dbc18d90cc637337eebfc1e939c72
tree924627111867e86317d02b96b1623a216cbda150
parent5b257571cd487bf3f5779b2b4b15216cc5eb7bb6
rtc: test: store time as an offset to system time

Store the time as an offset to system time. As the offset is in second, it
is currently always synced with system time.

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