From 36905a33dd2d2bd443079ac677545849fa190eb7 Mon Sep 17 00:00:00 2001 From: Varka Bhadram Date: Sat, 27 Sep 2014 19:05:41 +0530 Subject: [PATCH] gpio: ks8695: fix 'else should follow close brace '}'' Signed-off-by: Varka Bhadram Signed-off-by: Linus Walleij --- drivers/gpio/gpio-ks8695.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-ks8695.c b/drivers/gpio/gpio-ks8695.c index ba2d2f1fb828..cc09b237e88c 100644 --- a/drivers/gpio/gpio-ks8695.c +++ b/drivers/gpio/gpio-ks8695.c @@ -276,18 +276,16 @@ static int ks8695_gpio_show(struct seq_file *s, void *unused) case IOPC_TM_EDGE: seq_printf(s, "(Edges)"); break; } - } - else + } else seq_printf(s, "GPIO\t"); - } - else if (i <= KS8695_GPIO_5) { + } else if (i <= KS8695_GPIO_5) { if (ctrl & enable[i]) seq_printf(s, "TOUT%i\t", i - KS8695_GPIO_4); else seq_printf(s, "GPIO\t"); - } - else + } else { seq_printf(s, "GPIO\t"); + } seq_printf(s, "\t"); -- 2.39.5