mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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>
This commit is contained in:
parent
78b7c6bff1
commit
79ba1814da
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user