rtc: brcmstb-waketimer: switch to rtc_time64_to_tm
Subsystems (2)
Alexandre Belloni
maintainerPATCH v2 1/1 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.
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/rtc/rtc-brcmstb-waketimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-brcmstb-waketimer.c +1 -1
@@ -132,7 +132,7 @@ static int brcmstb_waketmr_gettime(struct device *dev,wktmr_read (timer, &now); -rtc_time_to_tm (now.sec, tm); +rtc_time64_to_tm (now.sec, tm);return 0 ; }
Signature · 1 line
2.20.1
Quoted 4 lines · Alexandre Belloni
Call the 64bit version of
rtc_time_to_tmas the range is enforced by the core.Signed-off-by Alexandre Belloni <[email protected]>
Reviewed-by Florian Fainelli <[email protected]>
Signature · 1 line
Florian