]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Extend gpio label column width in omap_gpio debugfs file
authorJarkko Nikula <jarkko.nikula@nokia.com>
Wed, 12 Nov 2008 08:02:39 +0000 (10:02 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 25 Nov 2008 22:36:58 +0000 (14:36 -0800)
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>
arch/arm/plat-omap/gpio.c

index 33305e3fd416e4fedee5df770293680ee12eb0d6..7ca05bbc8b65d7d5ac296878bfd60b3c61add0a6 100644 (file)
@@ -1780,7 +1780,7 @@ static int dbg_gpio_show(struct seq_file *s, void *unused)
                                seq_printf(s, "MPUIO %2d ", j);
                        else
                                seq_printf(s, "GPIO %3d ", gpio);
-                       seq_printf(s, "(%10s): %s %s",
+                       seq_printf(s, "(%-20.20s): %s %s",
                                        label,
                                        is_in ? "in " : "out",
                                        value ? "hi"  : "lo");