rtc: ab8500: remove useless check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 Sep 2018 14:49:02 +0000 (16:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Sep 2018 12:36:49 +0000 (14:36 +0200)
commit9a90a5bcc73e4805989ad791cdd075a81f1a23ef
tree8afd9dac7fa2fc844b43d92e431133d2799ca938
parent38ab97aebe47831e576095e58dac31860152b0fa
rtc: ab8500: remove useless check

rtc_time_to_tm always rturns a valid tm, there is no need to validate it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ab8500.c