Browse Source

gpio: gpio-timberdale.c: fix checkpatch error

Fix :
 gpio/gpio-timberdale.c:171: ERROR: else should follow close brace '}'

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Laurent Navet 12 years ago
parent
commit
8a29a40967
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/gpio/gpio-timberdale.c

+ 1 - 2
drivers/gpio/gpio-timberdale.c

@@ -167,8 +167,7 @@ static int timbgpio_irq_type(struct irq_data *d, unsigned trigger)
 		if (ver < 3) {
 			ret = -EINVAL;
 			goto out;
-		}
-		else {
+		} else {
 			flr |= 1 << offset;
 			bflr |= 1 << offset;
 		}