rtc: Remove wrong deprecation comment
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 12 Jul 2017 08:23:13 +0000 (10:23 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 12 Jul 2017 21:11:23 +0000 (23:11 +0200)
rtc_time_to_tm and rtc_tm_to_time are not deprecated and make perfect sense
for RTCs that are simple 32bit counters.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include/linux/rtc.h

index d53ecdc060cfd926f00ab188c4866bb6b254ce7b..0a0f0d14a5fba5582ab8c86ba1dc3a726b9881a0 100644 (file)
@@ -33,17 +33,11 @@ static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs)
        return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs);
 }
 
-/**
- * Deprecated. Use rtc_time64_to_tm().
- */
 static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm)
 {
        rtc_time64_to_tm(time, tm);
 }
 
-/**
- * Deprecated. Use rtc_tm_to_time64().
- */
 static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time)
 {
        *time = rtc_tm_to_time64(tm);