]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5724f4230750d656251e7d53f1b71cbd5cc4b662
tree5ca67c1fca5b03d229b17e2194d9ecca910dbb7a
parent17884ca6efb1d3e78c362fba2185a4f1d8492ee4
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