]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited620f4ef6f9b4a98fc7e66453b6456ea8aca9f2
tree6d412c47d35cb671ef1b92cccc6d7491958f106d
parent747b53827acb2a226fe781cc1de8a661aecc8063
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