diff options
| author | Oliver Graute <[email protected]> | 2022-04-26 09:26:12 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-05-05 15:06:02 -0400 |
| commit | 8b42439ad19f1b3920541c357d5d7e9593adc420 (patch) | |
| tree | 755b37ec6c449c1c032080e62c77bff024bdfe04 /include/linux/linux_string.h | |
| parent | 274347030631141f3e6259b2ec4fcd11365dd9a3 (diff) | |
rtc: rv8803: fix off-by-one in month counting
tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt
the month accordingly. This was determined when comparing the driver
with the corresponding linux kernel driver.
Signed-off-by: Oliver Graute <[email protected]>
Reviewed-by: Michael Walle <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
