Re: [patch 2/7] genirq/generic-chip: Convert core code to lock guards

Linus Walleij
2025-03-14T10:56:08Z

On Thu, Mar 13, 2025 at 3:31 PM Thomas Gleixner <tglx@linutronix.de> wrote:

> Replace the irq_gc_lock/unlock() pairs with guards. There is no point to
> implement a guard wrapper for them as they just wrap around raw_spin_lock*().
>
> Switch the other lock instances in the core code to guards as well.
>
> Conversion was done with Coccinelle plus manual fixups.
>
> No functional change.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij