summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sd3078.c
diff options
context:
space:
mode:
authorIlya Ledvich <ilya@compulab.co.il>2019-11-01 11:54:22 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-11-08 16:14:09 +0100
commit394c051d0fe2d94254522514d4454338f266e98d (patch)
tree14a1d1e33097e68a60fa7b1e9f2b278879bffd28 /drivers/rtc/rtc-sd3078.c
parent94303f8930ed78aea0f189b703c9d79fff9555d7 (diff)
downloadlinux-394c051d0fe2d94254522514d4454338f266e98d.tar.gz
linux-394c051d0fe2d94254522514d4454338f266e98d.tar.bz2
linux-394c051d0fe2d94254522514d4454338f266e98d.zip
rtc: em3027: 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: Ilya Ledvich <ilya@compulab.co.il> Reviewed-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Link: https://lore.kernel.org/r/20191101095422.14787-1-ilya@compulab.co.il Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-sd3078.c')
0 files changed, 0 insertions, 0 deletions