Browse Source

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 <elfring@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Markus Elfring 8 years ago
parent
commit
bb546136cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/input/input.c

+ 1 - 1
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');
 }