diff options
-rw-r--r-- | drivers/gpio/gpio-ks8695.c | 10 |
1 files 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) | |||
276 | case IOPC_TM_EDGE: | 276 | case IOPC_TM_EDGE: |
277 | seq_printf(s, "(Edges)"); break; | 277 | seq_printf(s, "(Edges)"); break; |
278 | } | 278 | } |
279 | } | 279 | } else |
280 | else | ||
281 | seq_printf(s, "GPIO\t"); | 280 | seq_printf(s, "GPIO\t"); |
282 | } | 281 | } else if (i <= KS8695_GPIO_5) { |
283 | else if (i <= KS8695_GPIO_5) { | ||
284 | if (ctrl & enable[i]) | 282 | if (ctrl & enable[i]) |
285 | seq_printf(s, "TOUT%i\t", i - KS8695_GPIO_4); | 283 | seq_printf(s, "TOUT%i\t", i - KS8695_GPIO_4); |
286 | else | 284 | else |
287 | seq_printf(s, "GPIO\t"); | 285 | seq_printf(s, "GPIO\t"); |
288 | } | 286 | } else { |
289 | else | ||
290 | seq_printf(s, "GPIO\t"); | 287 | seq_printf(s, "GPIO\t"); |
288 | } | ||
291 | 289 | ||
292 | seq_printf(s, "\t"); | 290 | seq_printf(s, "\t"); |
293 | 291 | ||