rtc: brcmstb-waketimer: rename irq to wake_irq
authorDoug Berger <opendmb@gmail.com>
Fri, 20 Jan 2023 19:01:45 +0000 (11:01 -0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Jan 2023 23:07:21 +0000 (00:07 +0100)
commiteae258edcb8705932c9e5c61a99f91d8235f688b
treebc51a3af73c236dee52ff15797df64dca22a8acf
parent516ae02c38ff3ae867f9b19fa050f78157e2bdae
rtc: brcmstb-waketimer: rename irq to wake_irq

In preparation for adding a second interrupt to service RTC
interrupts, the existing interrupt is renamed from the generic
'irq' to 'wake_irq' to more clearly convey its role.

It is also converted to an unsigned int.

Finally, the driver message that outputs the IRQ number when
registered is removed since devm_rtc_register_device() already
provides a report of registration and the interrupts can be
found in /proc/interrupts.

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