diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-10-16 22:18:31 +0200 |
---|---|---|
committer | Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> | 2016-12-12 09:05:46 +0100 |
commit | 79ba1814dafc8f23fc518f7fe1ab79055b60803e (patch) | |
tree | 83671095db6547c443c2f1887c7dfce02eba54cd /arch/avr32/mach-at32ap/pio.c | |
parent | AVR32-pio: Use seq_putc() in pio_bank_show() (diff) | |
download | linux-79ba1814dafc8f23fc518f7fe1ab79055b60803e.tar.xz linux-79ba1814dafc8f23fc518f7fe1ab79055b60803e.zip |
AVR32-pio: Replace two seq_printf() calls by seq_puts() in pio_bank_show()
Strings which did not contain data format specifications should be put
into a sequence. Thus use the corresponding function "seq_puts".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Diffstat (limited to 'arch/avr32/mach-at32ap/pio.c')
-rw-r--r-- | arch/avr32/mach-at32ap/pio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index abbe1b579495..7fae6ec7e8ec 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c @@ -367,9 +367,9 @@ static void pio_bank_show(struct seq_file *s, struct gpio_chip *chip) (mask & pdsr) ? "hi" : "lo", (mask & pusr) ? " " : "up"); if (ifsr & mask) - seq_printf(s, " deglitch"); + seq_puts(s, " deglitch"); if ((osr & mdsr) & mask) - seq_printf(s, " open-drain"); + seq_puts(s, " open-drain"); if (imr & mask) seq_printf(s, " irq-%d edge-both", gpio_to_irq(chip->base + i)); |