projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a038b8
)
Input: use seq_putc() in input_seq_print_bitmap()
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 10 May 2017 00:48:45 +0000
(17:48 -0700)
committer
Dmitry 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
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index
067d648
..
0d204b8
100644
(file)
--- 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_put
s(seq, "0"
);
+ seq_put
c(seq, '0'
);
seq_putc(seq, '\n');
}