From: Jarkko Nikula Date: Wed, 12 Nov 2008 08:02:39 +0000 (+0200) Subject: ARM: OMAP: Extend gpio label column width in omap_gpio debugfs file X-Git-Tag: v2.6.28-omap1~117 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=cddd7b230cb49d9b9153b3542dda767100bfd1ba;p=linux-2.6-omap-h63xx.git 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 Acked-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 33305e3fd41..7ca05bbc8b6 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -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");