Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1233985
| From | Ludovic Desroches <ludovic.desroches@atmel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] pinctrl: at91-pio4: irq argument as been removed from irq flow handlers |
| Date | 2015-09-28 11:50 +0200 |
| Message-ID | <qdDei-1XB-23@gated-at.bofh.it> (permalink) |
| References | <qdDei-1XB-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/pinctrl/pinctrl-at91-pio4.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
index 041df59..4aa6be0 100644
--- a/drivers/pinctrl/pinctrl-at91-pio4.c
+++ b/drivers/pinctrl/pinctrl-at91-pio4.c
@@ -222,9 +222,10 @@ static struct irq_chip atmel_gpio_irq_chip = {
.irq_set_type = atmel_gpio_irq_set_type,
};
-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;
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Fixes for next Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-28 11:50 +0200
[PATCH 1/2] pinctrl: at91-pio4: use irq_set_handler_locked Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-28 11:50 +0200
Re: [PATCH 1/2] pinctrl: at91-pio4: use irq_set_handler_locked Linus Walleij <linus.walleij@linaro.org> - 2015-10-03 00:00 +0200
[PATCH 2/2] pinctrl: at91-pio4: irq argument as been removed from irq flow handlers Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-28 11:50 +0200
Re: [PATCH 2/2] pinctrl: at91-pio4: irq argument as been removed from irq flow handlers Linus Walleij <linus.walleij@linaro.org> - 2015-10-03 00:00 +0200
Re: [PATCH 0/2] Fixes for next Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-09-28 11:50 +0200
csiph-web