summaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-16 22:13:19 +0200
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>2016-12-12 09:05:46 +0100
commit78b7c6bff173b35b7a65659564e466149ef6f90b (patch)
tree17948b346b01a8d9c4c9712de254bc183ed67000 /arch/avr32
parent017e7d0246911796938dd30e7be3b0b76423af8a (diff)
downloadop-kernel-dev-78b7c6bff173b35b7a65659564e466149ef6f90b.zip
op-kernel-dev-78b7c6bff173b35b7a65659564e466149ef6f90b.tar.gz
AVR32-pio: Use seq_putc() in pio_bank_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 <elfring@users.sourceforge.net>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/mach-at32ap/pio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c
index 13d3fc4..abbe1b5 100644
--- a/arch/avr32/mach-at32ap/pio.c
+++ b/arch/avr32/mach-at32ap/pio.c
@@ -373,7 +373,7 @@ static void pio_bank_show(struct seq_file *s, struct gpio_chip *chip)
if (imr & mask)
seq_printf(s, " irq-%d edge-both",
gpio_to_irq(chip->base + i));
- seq_printf(s, "\n");
+ seq_putc(s, '\n');
}
}
OpenPOWER on IntegriCloud