[PATCH v4 1/3] gpio: brcmstb: Utilize irqd_to_hwirq(d) instead of d->hwirq

Linus Walleij linusw at kernel.org
Tue Feb 3 16:23:56 PST 2026


On Wed, Feb 4, 2026 at 12:45 AM Florian Fainelli
<florian.fainelli at broadcom.com> wrote:

> 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".
>
> Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list