From: Markus Elfring Date: Wed, 10 May 2017 00:48:45 +0000 (-0700) Subject: Input: use seq_putc() in input_seq_print_bitmap() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb546136cc0b07b3f4dc972a196650d50fe1aaaa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: use seq_putc() in input_seq_print_bitmap() Switch to using seq_putc() when printing a single character '0'. Signed-off-by: Markus Elfring Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 067d648028a2..0d204b841575 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -1126,7 +1126,7 @@ static void input_seq_print_bitmap(struct seq_file *seq, const char *name, * If no output was produced print a single 0. */ if (skip_empty) - seq_puts(seq, "0"); + seq_putc(seq, '0'); seq_putc(seq, '\n'); }