diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2025-03-13 15:31:21 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-04-07 09:43:19 +0200 |
| commit | b54bd5a29b428afff4a37c7b6e1df67e43c327c3 (patch) | |
| tree | 766bd83760ed3250a554ff74dcebed20cf340e63 /drivers | |
| parent | 195298c3b11628a6c52c515c31470e673cf259a9 (diff) | |
soc: dove: Convert generic irqchip locking to guard()
Conversion was done with Coccinelle. No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/all/20250313142524.137040686@linutronix.de
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/soc/dove/pmu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c index 6202dbcd20a8..795802bb3e7d 100644 --- a/drivers/soc/dove/pmu.c +++ b/drivers/soc/dove/pmu.c @@ -257,10 +257,9 @@ static void pmu_irq_handler(struct irq_desc *desc) * So, let's structure the code so that the window is as small as * possible. */ - irq_gc_lock(gc); + guard(raw_spinlock)(&gc->lock); done &= readl_relaxed(base + PMC_IRQ_CAUSE); writel_relaxed(done, base + PMC_IRQ_CAUSE); - irq_gc_unlock(gc); } static int __init dove_init_pmu_irq(struct pmu_data *pmu, int irq) |
