commit | f4282a4303dc7eada2543ea9b87e2b9bdec9344b | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Wed Feb 28 00:04:16 2024 +0100 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Feb 29 22:15:46 2024 +0100 |
tree | f7391ef5b94d9a596e87fe6870a2caa9784ee60d | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d [diff] |
rtc: ds1511: drop useless checks The RTC core will always pass a valid rtc_tm, it is unnecessary to check the validity of its members, especially with an open coded version of rtc_valid_tm(). Link: https://lore.kernel.org/r/20240227230431.1837717-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>