]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9336aae0853f20a7859a3ba53b1612198da55661
treec30098e92d0b4c3724e5744def06ba06bbb39e39
parentbcf498cfa1e7669a2658a23241bc3ef3ed8d88b5
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