From: Varka Bhadram Subject: [PATCH v2] gpio: ks8695: fix 'else should follow close brace '}'' Date: Sat, 27 Sep 2014 19:05:41 +0530 Message-ID: <1411824941-5365-1-git-send-email-varkab@cdac.in> Return-path: Received: from mail-pa0-f53.google.com ([209.85.220.53]:47791 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890AbaI0Nfy (ORCPT ); Sat, 27 Sep 2014 09:35:54 -0400 Received: by mail-pa0-f53.google.com with SMTP id kq14so2841525pab.40 for ; Sat, 27 Sep 2014 06:35:54 -0700 (PDT) Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: linux-gpio@vger.kernel.org Cc: linus.walleij@linaro.org, gnurou@gmail.com, Varka Bhadram Signed-off-by: Varka Bhadram --- 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 ba2d2f1..cc09b23 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"); -- 1.7.9.5