projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51f896f
)
rtc: imx-sc: use rtc_time64_to_tm
author
Alexandre Belloni
<
[email protected]
>
Sun, 3 Mar 2019 21:12:38 +0000
(22:12 +0100)
committer
Alexandre Belloni
<
[email protected]
>
Sun, 3 Mar 2019 21:12:38 +0000
(22:12 +0100)
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 <
[email protected]
>
drivers/rtc/rtc-imx-sc.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-imx-sc.c
b/drivers/rtc/rtc-imx-sc.c
index 60570a278bb0cea5caf0f8b5dd92d07dd3843806..19642bfd913ae9da6ffc208c761a8ba92b01f516 100644
(file)
--- a/
drivers/rtc/rtc-imx-sc.c
+++ b/
drivers/rtc/rtc-imx-sc.c
@@
-41,7
+41,7
@@
static int imx_sc_rtc_read_time(struct device *dev, struct rtc_time *tm)
return ret;
}
- rtc_time_to_tm(msg.time, tm);
+ rtc_time
64
_to_tm(msg.time, tm);
return 0;
}