Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: at91-pio4: irq argument as been removed from irq flow handlers

Irq argument as been removed from irq flow handlers so use the irq
descriptor to retrieve data we need.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Ludovic Desroches and committed by
Linus Walleij
89092fb0 3fd550c6

+3 -2
+3 -2
drivers/pinctrl/pinctrl-at91-pio4.c
··· 248 248 .irq_set_wake = atmel_gpio_irq_set_wake, 249 249 }; 250 250 251 - static void atmel_gpio_irq_handler(unsigned int irq, struct irq_desc *desc) 251 + static void atmel_gpio_irq_handler(struct irq_desc *desc) 252 252 { 253 - struct atmel_pioctrl *atmel_pioctrl = irq_get_handler_data(irq); 253 + unsigned int irq = irq_desc_get_irq(desc); 254 + struct atmel_pioctrl *atmel_pioctrl = irq_desc_get_handler_data(desc); 254 255 struct irq_chip *chip = irq_desc_get_chip(desc); 255 256 unsigned long isr; 256 257 int n, bank = -1;