rtc: zynqmp: re-use rtc_time64_to_tm operation
authorJean-Francois Dagenais <jeff.dagenais@gmail.com>
Thu, 28 Nov 2019 01:56:12 +0000 (20:56 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 10 Dec 2019 15:49:20 +0000 (16:49 +0100)
commit519d63702d0e710fd02dabce1370eaa24dfb5fc8
treee4fe97084562ec00f06733b808e079552f3e6b12
parent94a25071301a898d8c603db2f05a0016eb7b7d28
rtc: zynqmp: re-use rtc_time64_to_tm operation

This allows a subsequent commit to spin_unlock sooner.

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20191128015613.10003-1-jeff.dagenais@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-zynqmp.c