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

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


On Wed, Mar 21, 2018 at 03:40:34PM +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 ds1374 implementation of
> rtc_reset() doesn't 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/c5e96c25/attachment.sig>


More information about the U-Boot mailing list