]> 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)
commit029aba60d6439707e03cccdcb004aa2d91c56697
tree1a5ca3eb1529bd68d727b8c9d758c04e948dfc45
parenta55c809bb946684672f79eb31af74aac8f7041bb
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