diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-19 10:00:02 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-19 22:37:16 +0200 |
commit | 886a77e73e521a75b7bb5cef63f8c2349edfd8e5 (patch) | |
tree | c9fa8c00fcd13f6b251ba9a16a6027a683bdcc77 | |
parent | 2d4fc6df77d8effe07a66ec24c093b8c9f0fb998 (diff) | |
download | linux-stable-886a77e73e521a75b7bb5cef63f8c2349edfd8e5.tar.gz linux-stable-886a77e73e521a75b7bb5cef63f8c2349edfd8e5.tar.bz2 linux-stable-886a77e73e521a75b7bb5cef63f8c2349edfd8e5.zip |
rtc: ep93xx: switch to rtc_time64_to_tm
Call the 64bit version of rtc_time_to_tm now that the range is enforced by
the core.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | drivers/rtc/rtc-ep93xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 32d7b3ec816d..60e390c6ef06 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c @@ -59,7 +59,7 @@ static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); - rtc_time_to_tm(time, tm); + rtc_time64_to_tm(time, tm); return 0; } |