gpio: gpio-timberdale.c: fix checkpatch error
authorLaurent Navet <laurent.navet@gmail.com>
Wed, 20 Mar 2013 12:16:03 +0000 (13:16 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:17 +0000 (16:05 +0100)
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>
drivers/gpio/gpio-timberdale.c

index 702cca9284f1b54ef226348e083f14476d9f9a88..43774058b6930ab37d60263ee2e9e6b0d44bbf06 100644 (file)
@@ -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;
                }