Skip to content
Snippets Groups Projects
Commit c1a2afa4 authored by Chris Packham's avatar Chris Packham Committed by Tom Rini
Browse files

rtc: ds1307: remove redundant code in rtc_reset


As of commit 1a1fa240 ("rtc: Set valid date after reset") the
command "date reset" will set the date/time to 2000-01-01 0:00:00 after
calling rtc_reset(). This means that the ds1307 implementation of
rtc_reset() doesn't need to call rtc_set().

Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 476c2fcd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment