diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-21 13:33:37 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-02 12:12:21 +0300 |
commit | 7ddc153d5f9442124cc083b15489932e45202661 (patch) | |
tree | 25c1d12dccc310bd3a0de669e877c01b55d38782 /lib/fault-inject.c | |
parent | e115a2bf14266bb4fe0ec75cd770a0a5eb77091e (diff) | |
download | linux-7ddc153d5f9442124cc083b15489932e45202661.tar.xz |
rtc: omap: 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.
Also, rtc_time_to_tm never generates an invalid rtc_tm (it can be out of
range though).
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions