]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1347: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:47:21 +0000 (15:47 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:49:33 +0000 (15:49 +0200)
commit3e3e6893198fe93b2e32aec380dd1c6eac5a22bd
tree2e9b6028fb1502718925c1d46e3370b2d2ec2295
parent0d8672228ed6d46e50df2126210f5cd8584dd1b4
rtc: ds1347: set range

The DS1347 handle dates from year 0000 to 9999. Leap years are claimed to
be handled correctly in the datasheet.

Link: https://lore.kernel.org/r/20191007134724.15505-7-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1347.c