commit | 26eeefd5956449b03c87c49b996e012ffe3e59aa | [log] [tgz] |
---|---|---|
author | Emil Bartczak <emilbart@gmail.com> | Thu Dec 08 00:27:39 2016 +0100 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Dec 19 00:59:23 2016 +0100 |
tree | 8ce99f7233d9143117e892e4f3a9316e19667985 | |
parent | e72765c648a172f052486cba9688ddc28f23140b [diff] |
rtc: mcp795: fix time range difference between linux and RTC chip. In linux rtc_time struct, tm_mon range is 0~11, while in RTC HW REG, month range is 1~12. This patch adjusts difference of them. Signed-off-by: Emil Bartczak <emilbart@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>