OSDN Git Service

rtc: tegra: stop validating rtc_time in .set_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 10:03:49 +0000 (11:03 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:12:22 +0000 (10:12 +0100)
commitc4f2eafe52aab77f9481595b180d8ae01903a07c
treec30098e92d0b4c3724e5744def06ba06bbb39e39
parent9fb7aa7501b0293b44405f1b8053727266436dc6
rtc: tegra: stop validating rtc_time in .set_time

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

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