]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pl030: remove useless invalid alarm handling
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 00:57:29 +0000 (01:57 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:09 +0000 (11:12 +0100)
commit4dc226ed53732eb969042c9d4007e90e083528e2
tree7db9ad0bded082a6041a03303c52946ebb8f0e36
parent60601854fafa994678e03c5e8c152912f0d6c6d6
rtc: pl030: 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.

Link: https://lore.kernel.org/r/20200306005730.38268-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pl030.c