PCI: aardvark: Remove irq_mask_ack() callback for INTx interrupts
authorPali Rohár <pali@kernel.org>
Mon, 10 Jan 2022 01:50:14 +0000 (02:50 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Feb 2022 10:44:35 +0000 (10:44 +0000)
Callback for irq_mask_ack() is the same as for irq_mask(). As there is no
special handling for irq_ack(), there is no need to define irq_mask_ack()
too.

Link: https://lore.kernel.org/r/20220110015018.26359-20-kabel@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
drivers/pci/controller/pci-aardvark.c

index 58a5ba8..faf4f55 100644 (file)
@@ -1413,7 +1413,6 @@ static int advk_pcie_init_irq_domain(struct advk_pcie *pcie)
        }
 
        irq_chip->irq_mask = advk_pcie_irq_mask;
-       irq_chip->irq_mask_ack = advk_pcie_irq_mask;
        irq_chip->irq_unmask = advk_pcie_irq_unmask;
 
        pcie->irq_domain =