From: Linus Torvalds Date: Sat, 26 Dec 2020 17:19:49 +0000 (-0800) Subject: mfd: ab8500-debugfs: Remove extraneous seq_putc X-Git-Tag: baikal/mips/sdk5.9~11868 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=02240fcaae6cd5e78431152731436339390bfa7c;p=kernel.git mfd: ab8500-debugfs: Remove extraneous seq_putc Commit a8972f80c6d0 ("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: Joe Perches Fixes: 4cbf5db632b2 ("mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc") Cc: Thomas Gleixner Cc: Nathan Chancellor Signed-off-by: Linus Torvalds --- diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index 1cf84562351e4..e43dea89b0947 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -1521,7 +1521,6 @@ static int ab8500_interrupts_show(struct seq_file *s, void *p) line + irq_first, num_interrupts[line], num_wake_interrupts[line]); - seq_putc(s, '\n'); } return 0;