rtc: pl031: make interrupt optional
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Sep 2017 10:22:15 +0000 (11:22 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 12 Oct 2017 14:30:30 +0000 (16:30 +0200)
commit5b64a2965dfdfca8039e93303c64e2b15c19ff0c
treed4673f18f817d8735c74be9464e550ab24f994c8
parentb86f581f8cdbec3655d400ad952c2203a74edde1
rtc: pl031: make interrupt optional

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>
drivers/rtc/rtc-pl031.c