rtc: s3c: stop setting bogus time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Feb 2021 11:29:33 +0000 (12:29 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:59:16 +0000 (00:59 +0100)
commit5c78cceeb2d8bdce0ffff671c91c8edc0c900a77
tree6db3d182face1ec7cb46d5eb26211b6ef091caac
parent302757c9ae622dbc8f79c7f7705b4c547061ad3c
rtc: s3c: stop setting bogus 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.

Also, this is basically dead code since commit 22652ba72453 ("rtc: stop
validating rtc_time in .read_time")

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20210202112934.3612726-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-s3c.c