Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: brcmstb-waketimer: switch to rtc_time64_to_tm

Call the 64bit version of rtc_time_to_tm as the range is enforced by the
core.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

+1 -1
+1 -1
drivers/rtc/rtc-brcmstb-waketimer.c
··· 132 132 133 133 wktmr_read(timer, &now); 134 134 135 - rtc_time_to_tm(now.sec, tm); 135 + rtc_time64_to_tm(now.sec, tm); 136 136 137 137 return 0; 138 138 }