summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-lib.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-22 01:22:34 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-28 14:21:02 +0200
commit0ae3f24ded773edcc5e40ed94c84fbfabd516e14 (patch)
treeb86e15e325467becdc5e06662e0343f4a1d036d7 /drivers/rtc/rtc-lib.c
parentrtc: ds1307: use rtc_add_group (diff)
downloadlinux-0ae3f24ded773edcc5e40ed94c84fbfabd516e14.tar.xz
linux-0ae3f24ded773edcc5e40ed94c84fbfabd516e14.zip
rtc: lib: correct documentation typo
rtc_time64_to_tm has not been called rtc_time_to_tm64 Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to '')
-rw-r--r--drivers/rtc/rtc-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-lib.c b/drivers/rtc/rtc-lib.c
index 4a3c0f3aab14..ef160da84220 100644
--- a/drivers/rtc/rtc-lib.c
+++ b/drivers/rtc/rtc-lib.c
@@ -47,7 +47,7 @@ EXPORT_SYMBOL(rtc_year_days);
/*
- * rtc_time_to_tm64 - Converts time64_t to rtc_time.
+ * rtc_time64_to_tm - Converts time64_t to rtc_time.
* Convert seconds since 01-01-1970 00:00:00 to Gregorian date.
*/
void rtc_time64_to_tm(time64_t time, struct rtc_time *tm)