diff options
author | Olof Johansson <olof@lixom.net> | 2016-11-18 17:51:13 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-11-18 17:51:13 -0800 |
commit | 0a8566e78eeb10312ffeecf7aa5e31b52d97f7a2 (patch) | |
tree | 452ea016ee3d4666be024bae33bf859e3dfe3f2f | |
parent | bd7623dd612b5cb05fb614994faccc6823bea9f8 (diff) | |
parent | d6ea689345ecc27b636a8bb62bf07080f21f110c (diff) | |
download | linux-0a8566e78eeb10312ffeecf7aa5e31b52d97f7a2.tar.gz |
Merge tag 'mvebu-drivers-4.10-1' of git://git.infradead.org/linux-mvebu into next/soc
mvebu drivers for 4.10 (part 1)
Clean-up on thegpio driver for old SoCs(non DT)
* tag 'mvebu-drivers-4.10-1' of git://git.infradead.org/linux-mvebu:
ARM/orion/gpio: Replace three seq_printf() calls by seq_puts() in orion_gpio_dbg_show()
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/plat-orion/gpio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-orion/gpio.c b/arch/arm/plat-orion/gpio.c index f74069386c13..26a531ebb6e9 100644 --- a/arch/arm/plat-orion/gpio.c +++ b/arch/arm/plat-orion/gpio.c @@ -478,13 +478,13 @@ static void orion_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) (data_in ^ in_pol) & msk ? "hi" : "lo", in_pol & msk ? "lo" : "hi"); if (!((edg_msk | lvl_msk) & msk)) { - seq_printf(s, " disabled\n"); + seq_puts(s, " disabled\n"); continue; } if (edg_msk & msk) - seq_printf(s, " edge "); + seq_puts(s, " edge "); if (lvl_msk & msk) - seq_printf(s, " level"); + seq_puts(s, " level"); seq_printf(s, " (%s)\n", cause & msk ? "pending" : "clear "); } } |