]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8025: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Nov 2021 22:54:54 +0000 (23:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:45:57 +0000 (00:45 +0100)
commit339ac3c754fc5821e7c485e6ad9b100a2b4d0433
treed1865bd8b24386c6a45cb705a2a03b61cec2c1e9
parentbf3ea034075a5e29b2b6076e698986e528a97475
rtc: rx8025: set range

Set the RTC range, it is a classic BCD RTC, with 00 being a leap
year. Let the core handle range checking.

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