mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
mvebu drivers for 4.10 (part 1)
Clean-up on thegpio driver for old SoCs(non DT) -----BEGIN PGP SIGNATURE----- iGoEABECACoFAlguI2sjHGdyZWdvcnkuY2xlbWVudEBmcmVlLWVsZWN0cm9ucy5j b20ACgkQCwYYjhRyO9UpBQCfXuXP07OSFdUosB4EmN7dsXpwof0An0WBl7vez4zP MyLYA9BpkD8FwfUs =Aa7L -----END PGP SIGNATURE----- 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>
This commit is contained in:
commit
0a8566e78e
|
|
@ -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 ");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user