]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: xgene: stop caching alarm_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 20 Mar 2019 12:32:31 +0000 (13:32 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:08 +0000 (10:07 +0200)
commit3cf7900f51024a0c34cc7aeae9f10c1c6d3e964a
tree819f3253fe3ba40580aad38cbf45b1732fb3c080
parent7e6f6ed4c6af00a728af241bcf00c5932dea043e
rtc: xgene: stop caching alarm_time

There is no point in caching alarm_time for .read_alarm because
.read_alarm is only called at boo time and thus alarm_time is always 0.

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