]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: stop validating rtc_time after rtc_time64_to_tm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Feb 2018 15:23:55 +0000 (16:23 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:41 +0000 (10:49 +0100)
commit17884ca6efb1d3e78c362fba2185a4f1d8492ee4
treed1168e99ae2659fbcb113e02f4247ddbd05f36d3
parente1703f75a8ab0c04a939bb1fb9054339c9114484
rtc: stop validating rtc_time after rtc_time64_to_tm

rtc_time64_to_tm never generates an invalid tm. It is not necessary to
validate it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ab3100.c
drivers/rtc/rtc-mc13xxx.c
drivers/rtc/rtc-zynqmp.c