Skip to content

Commit

Permalink
gpio: ks8695: fix 'else should follow close brace '}''
Browse files Browse the repository at this point in the history
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Varka Bhadram authored and Linus Walleij committed Oct 2, 2014
1 parent 27ec8a9 commit 36905a3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/gpio/gpio-ks8695.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 36905a3

Please sign in to comment.