]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: r9701: stop setting a default time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 Oct 2020 19:11:31 +0000 (21:11 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Oct 2020 20:48:55 +0000 (22:48 +0200)
commit2ea2256c113b2afa315b3d1886646ef2e2a2895f
tree09891d072d528b7483a8cf483b7e5b785ef17fe9
parent429fee60c6418aecdd7b7622d859a2abccdc7e36
rtc: r9701: stop setting a default time

It doesn't make sense to set the RTC to a default value at probe time. Let
the core handle invalid date and time.

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