Replace the two separate calls for clearing the irqchip's chained handler
and its data with a single irq_set_chained_handler_and_data() call.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
acpi_gpiochip_free_interrupts(gpiochip);
if (gpiochip->irq_chained_parent) {
- irq_set_chained_handler(gpiochip->irq_chained_parent, NULL);
- irq_set_handler_data(gpiochip->irq_chained_parent, NULL);
+ irq_set_chained_handler_and_data(
+ gpiochip->irq_chained_parent, NULL, NULL);
}
/* Remove all IRQ mappings and delete the domain */