rtc: imxdi: remove unnecessary check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2019 08:34:31 +0000 (10:34 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 29 Apr 2019 13:53:43 +0000 (15:53 +0200)
commit629d488a3eb660fd511c40b2076cc2bfd4b94f6c
treea1e3fd0ebb7822fff6c2111f3741808dcaf0cd77
parentd231d32caa901331335b5e35014865e29de2ebbd
rtc: imxdi: remove unnecessary check

The RTC core already ensures the alarm is set to a time in the future, it
is not necessary to check again in the driver.

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