]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: brcmstb: Utilize irqd_to_hwirq(d) instead of d->hwirq
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Wed, 4 Feb 2026 16:43:31 +0000 (08:43 -0800)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 23 Feb 2026 09:38:32 +0000 (10:38 +0100)
commit5711ae6de0646dcf5bf90cc9d4d7cacd34896472
tree4da9264afb79fc4455bd7361cc477056b9ca9347
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
gpio: brcmstb: Utilize irqd_to_hwirq(d) instead of d->hwirq

Consistently use irqd_to_hwirq(d) which is the recommended helper to
fetch the hardware IRQ number from an irq_data structure. While at it,
update the brcmstb_gpio_set_imask() function signature to use the proper
type for the "hwirq" argument rather than "unsigned int".

Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260204164333.1146039-2-florian.fainelli@broadcom.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-brcmstb.c