Skip to content

Commit 95da5fe

Browse files
damien-lemoalLorenzo Pieralisi
authored andcommitted
PCI: rockchip-host: Rename rockchip_pcie_legacy_int_handler()
Rename the function rockchip_pcie_legacy_int_handler() of the rockchip host driver to rockchip_pcie_intx_handler() to match the PCI_IRQ_INTX macro name used to control this function execution, and to match the term used in the PCI specifications. Link: https://lore.kernel.org/r/20231122060406.14695-16-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
1 parent 5815c2d commit 95da5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/controller/pcie-rockchip-host.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static irqreturn_t rockchip_pcie_client_irq_handler(int irq, void *arg)
505505
return IRQ_HANDLED;
506506
}
507507

508-
static void rockchip_pcie_legacy_int_handler(struct irq_desc *desc)
508+
static void rockchip_pcie_intx_handler(struct irq_desc *desc)
509509
{
510510
struct irq_chip *chip = irq_desc_get_chip(desc);
511511
struct rockchip_pcie *rockchip = irq_desc_get_handler_data(desc);
@@ -553,7 +553,7 @@ static int rockchip_pcie_setup_irq(struct rockchip_pcie *rockchip)
553553
return irq;
554554

555555
irq_set_chained_handler_and_data(irq,
556-
rockchip_pcie_legacy_int_handler,
556+
rockchip_pcie_intx_handler,
557557
rockchip);
558558

559559
irq = platform_get_irq_byname(pdev, "client");

0 commit comments

Comments
 (0)