aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r--drivers/mfd/ab8500-debugfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index e33e385af0a2..d1a22aae2df5 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -1600,7 +1600,6 @@ static int ab8500_interrupts_print(struct seq_file *s, void *p)
1600 1600
1601 for (line = 0; line < num_interrupt_lines; line++) { 1601 for (line = 0; line < num_interrupt_lines; line++) {
1602 struct irq_desc *desc = irq_to_desc(line + irq_first); 1602 struct irq_desc *desc = irq_to_desc(line + irq_first);
1603 struct irqaction *action = desc->action;
1604 1603
1605 seq_printf(s, "%3i: %6i %4i", line, 1604 seq_printf(s, "%3i: %6i %4i", line,
1606 num_interrupts[line], 1605 num_interrupts[line],
@@ -1608,7 +1607,9 @@ static int ab8500_interrupts_print(struct seq_file *s, void *p)
1608 1607
1609 if (desc && desc->name) 1608 if (desc && desc->name)
1610 seq_printf(s, "-%-8s", desc->name); 1609 seq_printf(s, "-%-8s", desc->name);
1611 if (action) { 1610 if (desc && desc->action) {
1611 struct irqaction *action = desc->action;
1612
1612 seq_printf(s, " %s", action->name); 1613 seq_printf(s, " %s", action->name);
1613 while ((action = action->next) != NULL) 1614 while ((action = action->next) != NULL)
1614 seq_printf(s, ", %s", action->name); 1615 seq_printf(s, ", %s", action->name);