提交 f838f8d2 编写于 作者: L Linus Torvalds

mfd: ab8500-debugfs: Remove extraneous seq_putc

Commit c9a3c4e6 ("mfd: ab8500-debugfs: Remove extraneous curly
brace") removed a left-over curly brace that caused build failures, but
Joe Perches points out that the subsequent 'seq_putc()' should also be
removed, because the commit that caused all these problems already added
the final '\n' to the seq_printf() above it.
Reported-by: NJoe Perches <joe@perches.com>
Fixes: 886c8121 ("mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc")
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 40f78232
...@@ -1521,7 +1521,6 @@ static int ab8500_interrupts_show(struct seq_file *s, void *p) ...@@ -1521,7 +1521,6 @@ static int ab8500_interrupts_show(struct seq_file *s, void *p)
line + irq_first, line + irq_first,
num_interrupts[line], num_interrupts[line],
num_wake_interrupts[line]); num_wake_interrupts[line]);
seq_putc(s, '\n');
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册