rtc: ds1374: remove redundant code in rtc_reset
As of commit 1a1fa240 ("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: NChris Packham <judge.packham@gmail.com>
Showing
想要评论请 注册 或 登录