mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
genirq: Remove irq argument from irq flow handlers
Most interrupt flow handlers do not use the irq argument. Those few which use it can retrieve the irq number from the irq descriptor. Remove the argument. Search and replace was done with coccinelle and some extra helper scripts around it. Thanks to Julia for her help! Signed-off-by: Thomas Gleixner <[email protected]> Cc: Julia Lawall <[email protected]> Cc: Jiang Liu <[email protected]>
This commit is contained in:
parent
b237721c5d
commit
bd0b9ac405
188 changed files with 281 additions and 340 deletions
|
|
@ -222,7 +222,7 @@ static void __pmu_domain_register(struct pmu_domain *domain,
|
|||
}
|
||||
|
||||
/* PMU IRQ controller */
|
||||
static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc)
|
||||
static void pmu_irq_handler(struct irq_desc *desc)
|
||||
{
|
||||
struct pmu_data *pmu = irq_desc_get_handler_data(desc);
|
||||
struct irq_chip_generic *gc = pmu->irq_gc;
|
||||
|
|
@ -232,7 +232,7 @@ static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc)
|
|||
u32 done = ~0;
|
||||
|
||||
if (stat == 0) {
|
||||
handle_bad_irq(irq_desc_get_irq(desc), desc);
|
||||
handle_bad_irq(desc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue