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
|
|
@ -451,7 +451,7 @@ static void periph_interrupt(struct spmi_pmic_arb_dev *pa, u8 apid)
|
|||
}
|
||||
}
|
||||
|
||||
static void pmic_arb_chained_irq(unsigned int irq, struct irq_desc *desc)
|
||||
static void pmic_arb_chained_irq(struct irq_desc *desc)
|
||||
{
|
||||
struct spmi_pmic_arb_dev *pa = irq_desc_get_handler_data(desc);
|
||||
struct irq_chip *chip = irq_desc_get_chip(desc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue