projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ec8a9
)
gpio: ks8695: fix 'else should follow close brace '}''
author
Varka Bhadram
<varkabhadram@gmail.com>
Sat, 27 Sep 2014 13:35:41 +0000
(19:05 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 2 Oct 2014 14:07:00 +0000
(16:07 +0200)
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ks8695.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-ks8695.c
b/drivers/gpio/gpio-ks8695.c
index ba2d2f1fb82810e6e645b155f7f1882b2844ed95..cc09b237e88c85bc49c72849b789f014764c9674 100644
(file)
--- 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");