rtc: pl031: make interrupt optional
commitaf826fdfb14c51fc4416993d0fcef8f4aa43b54c
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Sep 2017 10:22:15 +0000 (29 11:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:26:25 +0000 (25 14:26 +0100)
tree6945320c7a2dae3e277ca817a0e77d408be24795
parentbd5139895727bcf97a411bf17fc137fb0d57f55c
rtc: pl031: make interrupt optional

[ Upstream commit 5b64a2965dfdfca8039e93303c64e2b15c19ff0c ]

On some platforms, the interrupt for the PL031 is optional.  Avoid
trying to claim the interrupt if it's not specified.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-pl031.c