summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-07-31 21:50:30 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-07-31 22:20:05 +0200
commit2b501769c442cf3d2abf388651fa17f46dcd0e5f (patch)
treef68292df99d5e188210d63cfd4d00469e5ef2dfe /arch/blackfin/mach-common
parentbadae6bc94ac0614240d93428350049fa891fcad (diff)
downloadlinux-2b501769c442cf3d2abf388651fa17f46dcd0e5f.tar.gz
linux-2b501769c442cf3d2abf388651fa17f46dcd0e5f.tar.bz2
linux-2b501769c442cf3d2abf388651fa17f46dcd0e5f.zip
blackfin: Prepare irq handlers 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: Thomas Gleixner <tglx@linutronix.de> Cc: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Steven Miao <realmz6@gmail.com> Cc: adi-buildroot-devel@lists.sourceforge.net
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 2eaf83a1a981..a6d1b03cdf36 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -825,9 +825,9 @@ static void bfin_demux_gpio_block(unsigned int irq)
}
}
-void bfin_demux_gpio_irq(unsigned int inta_irq,
- struct irq_desc *desc)
+void bfin_demux_gpio_irq(unsigned int __inta_irq, struct irq_desc *desc)
{
+ unsigned int inta_irq = irq_desc_get_irq(desc);
unsigned int irq;
switch (inta_irq) {