From: Roel Kluin Date: Tue, 17 Nov 2009 22:39:03 +0000 (-0800) Subject: omap: fix unlikely(x) < y X-Git-Tag: upstream/snapshot3+hdmi~16550^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d32b20fc7dad87ac95fcc73fca3606c0db85f210;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git omap: fix unlikely(x) < y The closing parenthesis was not in the right location. Signed-off-by: Roel Kluin Cc: Russell King Signed-off-by: Tony Lindgren Signed-off-by: Andrew Morton --- diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 71ebd7f..7c345b7 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -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;