Re: [patch 2/7] genirq/generic-chip: Convert core code to lock guards
From: Linus Walleij
Date: Fri Mar 14 2025 - 06:56:23 EST
On Thu, Mar 13, 2025 at 3:31 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij