[U-Boot] [U-Boot, v1, 4/5] rtc: rs5c372: remove redundant code in rtc_reset

Tom Rini trini at konsulko.com
Sat Apr 7 13:25:43 UTC 2018


On Wed, Mar 21, 2018 at 03:40:36PM +1300, Chris Packham wrote:

> 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 rs5c372 implementation of
> rtc_reset() does not need to call rtc_set().
> 
> Signed-off-by: Chris Packham <judge.packham at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180407/72b17494/attachment.sig>


More information about the U-Boot mailing list