Re: [PATCH 13/42] PCI: aardvark: Remove irq_mask_ack callback for INTx interrupts

From: Marc Zyngier
Date: Fri May 07 2021 - 05:22:48 EST


On Thu, 06 May 2021 16:31:24 +0100,
Pali Rohár <pali@xxxxxxxxxx> wrote:
>
> 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.
>
> Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
> Reviewed-by: Marek Behún <kabel@xxxxxxxxxx>
> ---
> drivers/pci/controller/pci-aardvark.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c
> index e7089db11f79..2aced8c9ae9f 100644
> --- a/drivers/pci/controller/pci-aardvark.c
> +++ b/drivers/pci/controller/pci-aardvark.c
> @@ -1032,7 +1032,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 =

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

--
Without deviation from the norm, progress is not possible.