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>
This commit is contained in:
Ludovic Desroches 2015-09-28 11:41:13 +02:00 коммит произвёл Linus Walleij
Родитель 3fd550c6b3
Коммит 89092fb070
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -248,9 +248,10 @@ static struct irq_chip atmel_gpio_irq_chip = {
.irq_set_wake = atmel_gpio_irq_set_wake,
};
static void atmel_gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
static void atmel_gpio_irq_handler(struct irq_desc *desc)
{
struct atmel_pioctrl *atmel_pioctrl = irq_get_handler_data(irq);
unsigned int irq = irq_desc_get_irq(desc);
struct atmel_pioctrl *atmel_pioctrl = irq_desc_get_handler_data(desc);
struct irq_chip *chip = irq_desc_get_chip(desc);
unsigned long isr;
int n, bank = -1;