Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208466
b: refs/heads/master
c: caf1e10
h: refs/heads/master
v: v3
  • Loading branch information
Wan ZongShun authored and Linus Torvalds committed Aug 11, 2010
1 parent 649a1a0 commit ad1db63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c814dc136f206888fba86f88636524b1936d55a9
refs/heads/master: caf1e1068b6e661f1163b5f180badde13b7580c8
4 changes: 2 additions & 2 deletions trunk/drivers/rtc/rtc-m48t59.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm)
dev_dbg(dev, "RTC read time %04d-%02d-%02d %02d/%02d/%02d\n",
tm->tm_year + 1900, tm->tm_mon, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec);
return 0;
return rtc_valid_tm(tm);
}

static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm)
Expand Down Expand Up @@ -196,7 +196,7 @@ static int m48t59_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm)
dev_dbg(dev, "RTC read alarm time %04d-%02d-%02d %02d/%02d/%02d\n",
tm->tm_year + 1900, tm->tm_mon, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec);
return 0;
return rtc_valid_tm(tm);
}

/*
Expand Down

0 comments on commit ad1db63

Please sign in to comment.