commit | b86f581f8cdbec3655d400ad952c2203a74edde1 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Fri Sep 29 11:22:10 2017 +0100 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Oct 12 16:30:25 2017 +0200 |
tree | a3ea7d4d259a1d4c781532a9ed6c9a36b7b64d5e | |
parent | 273c868e85a56481ccb34822be2033dbe63248fb [diff] |
rtc: pl031: avoid exposing alarm if no interrupt If the RTC has no interrupt, there is little point in exposing the RTC alarm capabilities, as it can't be used as a wakeup source nor can it deliver an event to userspace. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>