Skip to content
Commit bb451661 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: fsl-ftm-alarm: avoid struct rtc_time conversions



Directly call ktime_get_real_seconds instead of converting the result to a
struct rtc_time and then back to a time64_t.

Link: https://lore.kernel.org/r/20191016201223.30568-4-alexandre.belloni@bootlin.com
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 9323e963
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment