projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'android-4.4' of https://android.googlesource.com/kernel/common
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
rtc
/
rtc-HYM8563.c
diff --git
a/drivers/rtc/rtc-HYM8563.c
b/drivers/rtc/rtc-HYM8563.c
index c20f4b867bfe6ea9fd21a023ad0bcb302408106a..056bd3e050d549aaf0482e66ae8f1e1d96716f8b 100755
(executable)
--- a/
drivers/rtc/rtc-HYM8563.c
+++ b/
drivers/rtc/rtc-HYM8563.c
@@
-227,7
+227,6
@@
static int hym8563_read_datetime(struct i2c_client *client, struct rtc_time *tm)
else
tm->tm_year += 2000;
- tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year);
tm->tm_year -= 1900; //inorder to cooperate the systerm time
if(tm->tm_year < 0)
tm->tm_year = 0;