rtc: as3722: correct month value
authorBibek Basu <bbasu@nvidia.com>
Fri, 14 Aug 2015 18:44:02 +0000 (20:44 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:18 +0000 (19:37 +0200)
commita038c3aa9f3afe9ab97a75827789859fb4af5767
tree51b4e83cdff607f85e4d3f89b515809de9fa9a03
parente66ce07a9692f492580820640b446971dff97a74
rtc: as3722: correct month value

The RTC month value is 1-indexed, but the kernel assumes it is 0-indexed.
This may result in the RTC not rolling over correctly.

Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-as3722.c