Commit 5aac2d33 authored by Thomas Gleixner's avatar Thomas Gleixner

powerpc/mpc5121_ads_cpld: Prepare irq handler for irq argument removal

The irq argument of most interrupt flow handlers is unused or merily
used instead of a local variable. The handlers which need the irq
argument can retrieve the irq number from the irq descriptor.
Search and update was done with coccinelle and the invaluable help of
Julia Lawall.
Signed-off-by: default avatarThomas Gleixner <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: [email protected]
parent 6ff33f39
......@@ -105,8 +105,10 @@ cpld_pic_get_irq(int offset, u8 ignore, u8 __iomem *statusp,
static void
cpld_pic_cascade(unsigned int irq, struct irq_desc *desc)
cpld_pic_cascade(unsigned int __irq, struct irq_desc *desc)
unsigned int irq;
irq = cpld_pic_get_irq(0, PCI_IGNORE, &cpld_regs->pci_status,
if (irq != NO_IRQ) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment