rtc: make rtc_does_wakealarm() return boolean
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Jul 2015 23:01:06 +0000 (16:01 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:07 +0000 (13:19 +0200)
commitdf100c017ea9f1a6a517c3fba84f8507973c004e
tree42ba892d7513e5e13d27ef0959a26f9592ae339a
parentf2284f9c900a47961883b88064933a89b5dd5f46
rtc: make rtc_does_wakealarm() return boolean

Users of rtc_does_wakealarm() return value treat it as boolean so let's
change the signature accordingly.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-sysfs.c