diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-12-10 20:35:24 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:24 -0500 |
commit | 21c867f1dedc21fb6e5244b7b27cfcfd09b83188 (patch) | |
tree | 4974e1f7a55e789ae96381b559b5fef96b6427c1 /arch | |
parent | 89db94825447a03f17e03c0a6c8840a0a22cf155 (diff) |
ARM: OMAP: Extend gpio label column width in omap_gpio debugfs file
There are already various drivers having bigger label than 10 bytes. Most
of them fit well under 20 bytes but make column width exact so that
oversized labels don't mess up output alignment.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 66e364738fbb..8ff225bb1e46 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1812,7 +1812,7 @@ static int dbg_gpio_show(struct seq_file *s, void *unused) | |||
1812 | seq_printf(s, "MPUIO %2d ", j); | 1812 | seq_printf(s, "MPUIO %2d ", j); |
1813 | else | 1813 | else |
1814 | seq_printf(s, "GPIO %3d ", gpio); | 1814 | seq_printf(s, "GPIO %3d ", gpio); |
1815 | seq_printf(s, "(%10s): %s %s", | 1815 | seq_printf(s, "(%-20.20s): %s %s", |
1816 | label, | 1816 | label, |
1817 | is_in ? "in " : "out", | 1817 | is_in ? "in " : "out", |
1818 | value ? "hi" : "lo"); | 1818 | value ? "hi" : "lo"); |