Input: use seq_putc() in input_seq_print_bitmap()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 10 May 2017 00:48:45 +0000 (17:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 May 2017 21:39:33 +0000 (14:39 -0700)
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>
drivers/input/input.c

index 067d648..0d204b8 100644 (file)
@@ -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');
 }