Skip to content

Commit 9fc0fd6

Browse files
committed
irqchip/spear-shirq: Prepare shirq_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: Thomas Gleixner <tglx@linutronix.de> Cc: Julia Lawall <Julia.Lawall@lip6.fr>
1 parent 71093eb commit 9fc0fd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/irqchip/spear-shirq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static struct spear_shirq *spear320_shirq_blocks[] = {
182182
&spear320_shirq_intrcomm_ras,
183183
};
184184

185-
static void shirq_handler(unsigned irq, struct irq_desc *desc)
185+
static void shirq_handler(unsigned __irq, struct irq_desc *desc)
186186
{
187187
struct spear_shirq *shirq = irq_desc_get_handler_data(desc);
188188
u32 pend;

0 commit comments

Comments
 (0)