]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pl031: remove useless invalid alarm handling
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 00:58:07 +0000 (01:58 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:11 +0000 (11:12 +0100)
commit8fef5b7bc6b107696ee4d135a037ca05a6394e9f
tree1a5ca3eb1529bd68d727b8c9d758c04e948dfc45
parente77f781888383bf465d57b890aeed8fb26770a44
rtc: pl031: remove useless invalid alarm handling

The core will never pass an invalid alarm to .set_alarm, it is not
necessary to check for its validity.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200306005809.38530-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pl031.c