powerpc: Fixup last users of irq_chip->typename
The typename member of struct irq_chip was kept for migration purposes and is obsolete since more than 2 years. Fix up the leftovers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
293cfa44c3
commit
b27df67248
@@ -223,7 +223,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
if (desc->chip)
|
||||
seq_printf(p, " %s ", desc->chip->typename);
|
||||
seq_printf(p, " %s ", desc->chip->name);
|
||||
else
|
||||
seq_puts(p, " None ");
|
||||
|
||||
@@ -1112,8 +1112,8 @@ static int virq_debug_show(struct seq_file *m, void *private)
|
||||
seq_printf(m, "%5d ", i);
|
||||
seq_printf(m, "0x%05lx ", virq_to_hw(i));
|
||||
|
||||
if (desc->chip && desc->chip->typename)
|
||||
p = desc->chip->typename;
|
||||
if (desc->chip && desc->chip->name)
|
||||
p = desc->chip->name;
|
||||
else
|
||||
p = none;
|
||||
seq_printf(m, "%-15s ", p);
|
||||
|
Reference in New Issue
Block a user