Skip to content
Commit 26eeefd5 authored by Emil Bartczak's avatar Emil Bartczak Committed by Alexandre Belloni
Browse files

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: default avatarEmil Bartczak <emilbart@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent e72765c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment