rtc: vr41xx: switch to rtc_time64_to_tm/rtc_tm_to_time64
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 1 Oct 2018 21:51:35 +0000 (23:51 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 3 Oct 2018 09:07:22 +0000 (11:07 +0200)
commit89e27ce49846a7dedbcaefccbb6cc885c5baae14
treebbaaa4cd75eb4d1dfe682b0807a7e7680e0ff791
parent9a90a5bcc73e4805989ad791cdd075a81f1a23ef
rtc: vr41xx: switch to rtc_time64_to_tm/rtc_tm_to_time64

Call the 64bit versions of rtc_time_to_tm now that the range is enforced by
the core.
Also remove the open coded rtc_tm_to_time64.

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