[PATCH 082/100] rtc: spear: stop validating rtc_time in .set_time and .set_alarm

2018-02-21 Thread Alexandre Belloni
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 --- drivers/rtc/rtc-spear.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff

[PATCH 082/100] rtc: spear: stop validating rtc_time in .set_time and .set_alarm

2018-02-21 Thread Alexandre Belloni
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 --- drivers/rtc/rtc-spear.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-spear.c