From: Jarkko Nikula Date: Thu, 11 Dec 2008 01:35:24 +0000 (-0800) Subject: ARM: OMAP: Extend gpio label column width in omap_gpio debugfs file X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=21c867f1dedc21fb6e5244b7b27cfcfd09b83188;p=linux-beck.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 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) 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");