mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
gpio: stmpe: Use seq_putc() in stmpe_dbg_show()
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
7d18f0a14a
commit
0d83a5eb65
1 changed files with 1 additions and 1 deletions
|
|
@ -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_printf(s, "\n");
|
||||
seq_putc(s, '\n');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue