Skip to content

Commit

Permalink
gpio: gpio-timberdale.c: fix checkpatch error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Navet authored and Linus Walleij committed Mar 27, 2013
1 parent e90c636 commit 8a29a40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpio/gpio-timberdale.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8a29a40

Please sign in to comment.