Commit 5c02b01d authored by Markus Elfring's avatar Markus Elfring Committed by Tony Lindgren

ARM: OMAP2+: pm-debug: Use seq_putc() in two functions

A single character (line break) should be put into a sequence at the end.
Thus use the corresponding function "seq_putc".

This issue was detected by using the Coccinelle software.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 71b2e2e3
...@@ -114,8 +114,7 @@ static int pwrdm_dbg_show_counter(struct powerdomain *pwrdm, void *user) ...@@ -114,8 +114,7 @@ static int pwrdm_dbg_show_counter(struct powerdomain *pwrdm, void *user)
seq_printf(s, ",RET-MEMBANK%d-OFF:%d", i + 1, seq_printf(s, ",RET-MEMBANK%d-OFF:%d", i + 1,
pwrdm->ret_mem_off_counter[i]); pwrdm->ret_mem_off_counter[i]);
seq_printf(s, "\n"); seq_putc(s, '\n');
return 0; return 0;
} }
...@@ -138,7 +137,7 @@ static int pwrdm_dbg_show_timer(struct powerdomain *pwrdm, void *user) ...@@ -138,7 +137,7 @@ static int pwrdm_dbg_show_timer(struct powerdomain *pwrdm, void *user)
seq_printf(s, ",%s:%lld", pwrdm_state_names[i], seq_printf(s, ",%s:%lld", pwrdm_state_names[i],
pwrdm->state_timer[i]); pwrdm->state_timer[i]);
seq_printf(s, "\n"); seq_putc(s, '\n');
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment