OSDN Git Service

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)
commit9a842a7ebb169c2a8d8b9a3489d8cacfc235f6bf
tree819f3253fe3ba40580aad38cbf45b1732fb3c080
parentdb7853414b3eb8fbd16017edd3d60e6f717170ff
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