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)
commit146d21bd9dc167d75bed4c0fdfe790db7565e99b
treed1168e99ae2659fbcb113e02f4247ddbd05f36d3
parentbd7f4e7598921506c2ae343954fdbb764840921b
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