]> git.dujemihanovic.xyz Git - u-boot.git/commit
rtc: mx27rtc: remove redundant code in rtc_reset
authorChris Packham <judge.packham@gmail.com>
Wed, 21 Mar 2018 02:40:35 +0000 (15:40 +1300)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:44 +0000 (20:45 -0400)
commitfbd8179cbadd44a9a45ef3eff7c2b5b5aa56938a
treee55e0bebd2937e12c712902db97d0f59fc6ad507
parenta6bf689a70432ef035033aa81370ee953ecdf25d
rtc: mx27rtc: 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 mx27rtc implementation of
rtc_reset() can be an empty stub function.

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