rtc: imx-sc: use rtc_time64_to_tm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 3 Mar 2019 21:12:38 +0000 (22:12 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 3 Mar 2019 21:12:38 +0000 (22:12 +0100)
commit30adde6b181104249fb6c17b72a9bf12332bc053
treedaff5ad42c45f0a55a2c10dbc17570e39f918a67
parent51f896ffd1a5aacbda82ed82552c4077e3cc3b68
rtc: imx-sc: use rtc_time64_to_tm

The imx-sc driver properly sets range_max, use rtc_time64_to_tm() instead
of the deprecated rtc_time_to_tm()

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-imx-sc.c