]> git.sur5r.net Git - u-boot/commit
rtc: rx8025: remove redundant code in rtc_reset
authorChris Packham <judge.packham@gmail.com>
Wed, 21 Mar 2018 02:40:37 +0000 (15:40 +1300)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:44 +0000 (20:45 -0400)
commit402c8fd514681fb187c2e34131d78acc1697db5a
tree9cd3d68ca0b3383eaeaddfd14c0b35b924ddeb76
parent05d63d8bce1021819e31618c0ddcd12b675884ac
rtc: rx8025: 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 rx8025 implementation of
rtc_reset() does not need to call rtc_set().

Signed-off-by: Chris Packham <judge.packham@gmail.com>
drivers/rtc/rx8025.c