* [PATCH v2] gpio: ks8695: fix 'else should follow close brace '}''
@ 2014-09-27 13:35 Varka Bhadram
2014-10-02 7:29 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Varka Bhadram @ 2014-09-27 13:35 UTC (permalink / raw)
To: linux-gpio; +Cc: linus.walleij, gnurou, Varka Bhadram
Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] gpio: ks8695: fix 'else should follow close brace '}''
2014-09-27 13:35 [PATCH v2] gpio: ks8695: fix 'else should follow close brace '}'' Varka Bhadram
@ 2014-10-02 7:29 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-10-02 7:29 UTC (permalink / raw)
To: Varka Bhadram
Cc: linux-gpio@vger.kernel.org, Alexandre Courbot, Varka Bhadram
On Sat, Sep 27, 2014 at 3:35 PM, Varka Bhadram <varkabhadram@gmail.com> wrote:
> Signed-off-by: Varka Bhadram <varkab@cdac.in>
This v2 applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-02 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-27 13:35 [PATCH v2] gpio: ks8695: fix 'else should follow close brace '}'' Varka Bhadram
2014-10-02 7:29 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).