summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLaurent Navet <laurent.navet@gmail.com>2013-03-20 13:16:03 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-03-27 16:05:17 +0100
commit8a29a409671f82a21a56aeb42835f99795d0deb3 (patch)
tree3f796060193e1b3736f295642a6dc8d80048e1fd /drivers/gpio
parente90c636be6afbbd46779d180594bda60bc01a821 (diff)
downloadlinux-8a29a409671f82a21a56aeb42835f99795d0deb3.tar.gz
linux-8a29a409671f82a21a56aeb42835f99795d0deb3.tar.bz2
linux-8a29a409671f82a21a56aeb42835f99795d0deb3.zip
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-timberdale.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c
index 702cca9284f1..43774058b693 100644
--- a/drivers/gpio/gpio-timberdale.c
+++ b/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;
}