diff options
author | Martin Kaiser <martin@kaiser.cx> | 2018-08-17 14:10:27 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-20 09:54:44 +0100 |
commit | 44beda0c357f656e95febec8de7347015479295d (patch) | |
tree | 8e5acca1668db92100b30bd86bcccae7111ec120 /drivers/irqchip/irq-tango.c | |
parent | ad0926f05b0f4d302247e434d67099d9f6b622f3 (diff) | |
download | linux-44beda0c357f656e95febec8de7347015479295d.tar.gz linux-44beda0c357f656e95febec8de7347015479295d.tar.bz2 linux-44beda0c357f656e95febec8de7347015479295d.zip |
irqchip/tango: Set irq handler and data in one go
Replace the two separate calls for setting the irq handler and data with
a single irq_set_chained_handler_and_data() call.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-tango.c')
-rw-r--r-- | drivers/irqchip/irq-tango.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-tango.c b/drivers/irqchip/irq-tango.c index 0c085303a583..580e2d72b9ba 100644 --- a/drivers/irqchip/irq-tango.c +++ b/drivers/irqchip/irq-tango.c @@ -205,8 +205,7 @@ static int __init tangox_irq_init(void __iomem *base, struct resource *baseres, tangox_irq_domain_init(dom); - irq_set_chained_handler(irq, tangox_irq_handler); - irq_set_handler_data(irq, dom); + irq_set_chained_handler_and_data(irq, tangox_irq_handler, dom); return 0; } |