rtc: brcmstb-waketimer: introduce WKTMR_ALARM_EVENT flag
authorDoug Berger <opendmb@gmail.com>
Fri, 20 Jan 2023 19:01:42 +0000 (11:01 -0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Jan 2023 23:07:21 +0000 (00:07 +0100)
commit90226f6b17a3edcb0bddaf2f16991861c99d6a15
treee3b0251dfc982a7ce8e3b0f8e853417d14bfafea
parent4cd0ca1fe9a79d81a001ff14f14035531773fe43
rtc: brcmstb-waketimer: introduce WKTMR_ALARM_EVENT flag

This commit defines bit 0 as the bit of interest within the
BRCMSTB_WKTMR_EVENT register to make the implementation more
readable.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230120190147.718976-2-opendmb@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-brcmstb-waketimer.c