arm: Fold irq_set_chip/irq_set_handler
[deliverable/linux.git] / arch / arm / mach-at91 / gpio.c
index 8512b796e6531b9da53c6493e98da01892e84ddf..4615528205c8329522b360b3b95e4fee4e89279c 100644 (file)
@@ -511,8 +511,8 @@ void __init at91_gpio_irq_setup(void)
                         * Can use the "simple" and not "edge" handler since it's
                         * shorter, and the AIC handles interrupts sanely.
                         */
-                       irq_set_chip(pin, &gpio_irqchip);
-                       irq_set_handler(pin, handle_simple_irq);
+                       irq_set_chip_and_handler(pin, &gpio_irqchip,
+                                                handle_simple_irq);
                        set_irq_flags(pin, IRQF_VALID);
                }
 
This page took 0.026543 seconds and 5 git commands to generate.