summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-05-09 17:48:45 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-05-10 14:39:33 -0700
commitbb546136cc0b07b3f4dc972a196650d50fe1aaaa (patch)
tree52c30470721b4cb3871c548cbcdddb84d05c8d5b /drivers/input/input.c
parent8a038b83e012097a7ac6cfb9f6c5fac1da8fad6e (diff)
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>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
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');
}