rtc: st-lpc: remove unnecessary check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 30 Apr 2019 20:18:34 +0000 (22:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 23 May 2019 15:53:05 +0000 (17:53 +0200)
commitd2bc4cece13967e3e654a872a8f081ae4bf75911
treeb1398356388d9583aab92de921bc20e096b67a2b
parentb3a50169762b14102a296a410d785f9ec1132ae1
rtc: st-lpc: 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-st-lpc.c