|
@@ -85,7 +85,7 @@ static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm)
|
|
|
|
|
|
rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm);
|
|
rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm);
|
|
|
|
|
|
- return rtc_valid_tm(tm);
|
|
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static int mc13xxx_rtc_set_mmss(struct device *dev, time64_t secs)
|
|
static int mc13xxx_rtc_set_mmss(struct device *dev, time64_t secs)
|