PCI: aardvark: Remove irq_mask_ack() callback for INTx interrupts
authorPali Rohár <pali@kernel.org>
Wed, 4 May 2022 16:58:49 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:32:47 +0000 (12:32 +0200)
commit b08e5b53d17be58eb2311d6790a84fe2c200ee47 upstream.

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>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pci-aardvark.c

index 58a5ba852be12b738035e9e75b423956d859a154..faf4f55c462dd1b61d1fcc0d700912f4341598f6 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 =