rtc: ab-b5ze-s3: remove unnecessary check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 12 Mar 2019 22:39:03 +0000 (23:39 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Mar 2019 02:36:01 +0000 (03:36 +0100)
commit33fee143ac6e3fed184cdd1791fb4b51f06a25c1
tree6d412c47d35cb671ef1b92cccc6d7491958f106d
parent818806498569c037acd7c336e47ed36d4b13a941
rtc: ab-b5ze-s3: remove unnecessary check

The core already checks that the alarm is set in the future. IT is not
necessary to do it again in the driver.

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