commit | 52ef4032c729611cc4170dc02b66ae303c2a5f39 | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Wed Mar 21 15:40:33 2018 +1300 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 06 20:45:44 2018 -0400 |
tree | 41687e1ebece3765b676d366c7028b1bf5083df8 | |
parent | ae7d4be320a39967e3575705f2b7b26a83d70610 [diff] |
rtc: ds1307: remove redundant code in rtc_reset As of commit 1a1fa2406689 ("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: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>