diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-10-15 16:30:44 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-09 17:33:33 -0500 |
commit | 5c02b01d234f8410010c952069d3fb9ec5d9124a (patch) | |
tree | cd36f5fab81591f48223d6de62cf144e342518c0 /arch/arm/mach-omap2/pm-debug.c | |
parent | 71b2e2e3b31d8ded15105e0c84e151f6fc6e413f (diff) |
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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm-debug.c')
-rw-r--r-- | arch/arm/mach-omap2/pm-debug.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 0b339861d751..003a6cb248be 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
@@ -114,8 +114,7 @@ static int pwrdm_dbg_show_counter(struct powerdomain *pwrdm, void *user) | |||
114 | seq_printf(s, ",RET-MEMBANK%d-OFF:%d", i + 1, | 114 | seq_printf(s, ",RET-MEMBANK%d-OFF:%d", i + 1, |
115 | pwrdm->ret_mem_off_counter[i]); | 115 | pwrdm->ret_mem_off_counter[i]); |
116 | 116 | ||
117 | seq_printf(s, "\n"); | 117 | seq_putc(s, '\n'); |
118 | |||
119 | return 0; | 118 | return 0; |
120 | } | 119 | } |
121 | 120 | ||
@@ -138,7 +137,7 @@ static int pwrdm_dbg_show_timer(struct powerdomain *pwrdm, void *user) | |||
138 | seq_printf(s, ",%s:%lld", pwrdm_state_names[i], | 137 | seq_printf(s, ",%s:%lld", pwrdm_state_names[i], |
139 | pwrdm->state_timer[i]); | 138 | pwrdm->state_timer[i]); |
140 | 139 | ||
141 | seq_printf(s, "\n"); | 140 | seq_putc(s, '\n'); |
142 | return 0; | 141 | return 0; |
143 | } | 142 | } |
144 | 143 | ||