omap: fix unlikely(x) < y
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:39:03 +0000 (14:39 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 18 Nov 2009 18:33:41 +0000 (10:33 -0800)
The closing parenthesis was not in the right location.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/plat-omap/gpio.c

index 71ebd7f..7c345b7 100644 (file)
@@ -373,7 +373,7 @@ static inline int gpio_valid(int gpio)
 
 static int check_gpio(int gpio)
 {
-       if (unlikely(gpio_valid(gpio)) < 0) {
+       if (unlikely(gpio_valid(gpio) < 0)) {
                printk(KERN_ERR "omap-gpio: invalid GPIO %d\n", gpio);
                dump_stack();
                return -1;