rtc: pm8xxx: return IRQ_NONE on errors
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 2 Feb 2023 15:54:31 +0000 (16:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 9 Feb 2023 22:17:56 +0000 (23:17 +0100)
commitcb9bb7b2364bb5f4f51226ce1f9ec6ffda618f0a
treed0c81b0021dce0f82fa40b9ad190388dc51eec39
parent8d273f33fd090a2c270c67b6ac7fa03f5a7eee3f
rtc: pm8xxx: return IRQ_NONE on errors

In the unlikely event that disabling the alarm and clearing the status
ever fails, return IRQ_NONE instead of IRQ_HANDLED.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230202155448.6715-6-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pm8xxx.c