From: Alexandre Belloni Date: Fri, 19 Apr 2019 08:00:02 +0000 (+0200) Subject: rtc: ep93xx: switch to rtc_time64_to_tm X-Git-Tag: Ubuntu-5.13.0-19.19~8578^2~40 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=886a77e73e521a75b7bb5cef63f8c2349edfd8e5;p=mirror_ubuntu-jammy-kernel.git 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 --- 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; }