rtc: pcf8523: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Nov 2020 00:27:46 +0000 (01:27 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 Nov 2020 11:52:25 +0000 (12:52 +0100)
commit219cc0f9189759cf6e22a935c20df3654331037f
tree8c711ed854e5dbc0b297a88f5af278de42573d71
parent886144058d53db85b269256922e71b5462c53c60
rtc: pcf8523: set range

Set the th RTC range, it is a classic BCD RTC, considering 00 as a leap
year. Let the core handle range checking.

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