rtc: stop validating rtc_time after rtc_time_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)
commitab62670e57174c547abbecacf6df78d3dcf03f26
tree5ca67c1fca5b03d229b17e2194d9ecca910dbb7a
parent146d21bd9dc167d75bed4c0fdfe790db7565e99b
rtc: stop validating rtc_time after rtc_time_to_tm

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

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
13 files changed:
drivers/rtc/rtc-ab8500.c
drivers/rtc/rtc-coh901331.c
drivers/rtc/rtc-jz4740.c
drivers/rtc/rtc-lpc32xx.c
drivers/rtc/rtc-ls1x.c
drivers/rtc/rtc-mpc5121.c
drivers/rtc/rtc-pcap.c
drivers/rtc/rtc-ps3.c
drivers/rtc/rtc-starfire.c
drivers/rtc/rtc-tps6586x.c
drivers/rtc/rtc-tx4939.c
drivers/rtc/rtc-wm831x.c
drivers/rtc/rtc-xgene.c