projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d18f0a
)
gpio: stmpe: Use seq_putc() in stmpe_dbg_show()
author
Markus Elfring
<elfring@users.sourceforge.net>
Fri, 12 Jan 2018 18:30:50 +0000
(19:30 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 17 Jan 2018 06:44:15 +0000
(07:44 +0100)
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stmpe.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-stmpe.c
b/drivers/gpio/gpio-stmpe.c
index
3b6efce
..
8061c70
100644
(file)
--- a/
drivers/gpio/gpio-stmpe.c
+++ b/
drivers/gpio/gpio-stmpe.c
@@
-350,7
+350,7
@@
static void stmpe_dbg_show(struct seq_file *s, struct gpio_chip *gc)
for (i = 0; i < gc->ngpio; i++, gpio++) {
stmpe_dbg_show_one(s, gc, i, gpio);
- seq_p
rintf(s, "\n"
);
+ seq_p
utc(s, '\n'
);
}
}