Skip to content

Commit c1ddc3d

Browse files
michalsimekbjorn-helgaas
authored andcommitted
PCI: xilinx-nwl: Fix coding style violations
Fix code alignments and remove additional newline. Link: https://lore.kernel.org/r/17c75e7003bb8c43a0f45ae3d7c45cac230ef852.1670503129.git.michal.simek@amd.com Signed-off-by: Michal Simek <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 9abf231 commit c1ddc3d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/pci/controller/pcie-xilinx-nwl.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,15 @@ static int nwl_irq_domain_alloc(struct irq_domain *domain, unsigned int virq,
474474

475475
for (i = 0; i < nr_irqs; i++) {
476476
irq_domain_set_info(domain, virq + i, bit + i, &nwl_irq_chip,
477-
domain->host_data, handle_simple_irq,
478-
NULL, NULL);
477+
domain->host_data, handle_simple_irq,
478+
NULL, NULL);
479479
}
480480
mutex_unlock(&msi->lock);
481481
return 0;
482482
}
483483

484484
static void nwl_irq_domain_free(struct irq_domain *domain, unsigned int virq,
485-
unsigned int nr_irqs)
485+
unsigned int nr_irqs)
486486
{
487487
struct irq_data *data = irq_domain_get_irq_data(domain, virq);
488488
struct nwl_pcie *pcie = irq_data_get_irq_chip_data(data);
@@ -722,7 +722,6 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie)
722722
/* Enable all misc interrupts */
723723
nwl_bridge_writel(pcie, MSGF_MISC_SR_MASKALL, MSGF_MISC_MASK);
724724

725-
726725
/* Disable all legacy interrupts */
727726
nwl_bridge_writel(pcie, (u32)~MSGF_LEG_SR_MASKALL, MSGF_LEG_MASK);
728727

0 commit comments

Comments
 (0)