Skip to content

Commit 29a61a1

Browse files
geertuKAGA-KOKO
authored andcommitted
genirq: Remove leading space from irq_chip::irq_print_chip() callbacks
The space separator was factored out from the multiple chip name prints, but several irq_chip::irq_print_chip() callbacks still print a leading space. Remove the superfluous double spaces. Fixes: 9d9f204 ("genirq/proc: Add missing space separator back") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/893f7e9646d8933cd6786d5a1ef3eb076d263768.1738764803.git.geert+renesas@glider.be
1 parent bb066fe commit 29a61a1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

arch/powerpc/sysdev/fsl_msi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void fsl_msi_print_chip(struct irq_data *irqd, struct seq_file *p)
7575
srs = (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK;
7676
cascade_virq = msi_data->cascade_array[srs]->virq;
7777

78-
seq_printf(p, " fsl-msi-%d", cascade_virq);
78+
seq_printf(p, "fsl-msi-%d", cascade_virq);
7979
}
8080

8181

drivers/bus/moxtet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ static void moxtet_irq_print_chip(struct irq_data *d, struct seq_file *p)
657657

658658
id = moxtet->modules[pos->idx];
659659

660-
seq_printf(p, " moxtet-%s.%i#%i", mox_module_name(id), pos->idx,
660+
seq_printf(p, "moxtet-%s.%i#%i", mox_module_name(id), pos->idx,
661661
pos->bit);
662662
}
663663

drivers/irqchip/irq-partition-percpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static void partition_irq_print_chip(struct irq_data *d, struct seq_file *p)
9898
struct irq_chip *chip = irq_desc_get_chip(part->chained_desc);
9999
struct irq_data *data = irq_desc_get_irq_data(part->chained_desc);
100100

101-
seq_printf(p, " %5s-%lu", chip->name, data->hwirq);
101+
seq_printf(p, "%5s-%lu", chip->name, data->hwirq);
102102
}
103103

104104
static struct irq_chip partition_irq_chip = {

drivers/soc/qcom/smp2p.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ static void smp2p_irq_print_chip(struct irq_data *irqd, struct seq_file *p)
365365
{
366366
struct smp2p_entry *entry = irq_data_get_irq_chip_data(irqd);
367367

368-
seq_printf(p, " %8s", dev_name(entry->smp2p->dev));
368+
seq_printf(p, "%8s", dev_name(entry->smp2p->dev));
369369
}
370370

371371
static struct irq_chip smp2p_irq_chip = {

0 commit comments

Comments
 (0)