OSDN Git Service

rtc: spear: stop validating rtc_time in .set_time and .set_alarm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 10:23:19 +0000 (11:23 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:12:21 +0000 (10:12 +0100)
commit9fb7aa7501b0293b44405f1b8053727266436dc6
tree2ee31865d94ee505668c636620a8329d01ea55ae
parent7ddc153d5f9442124cc083b15489932e45202661
rtc: spear: stop validating rtc_time in .set_time and .set_alarm

The RTC core is always validating the rtc_time struct before calling
.set_time or .set_alarm. It is not necessary to do it again.

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