omap: fix unlikely(x) < y

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>
This commit is contained in:
Roel Kluin 2009-11-17 14:39:03 -08:00 committed by Tony Lindgren
parent 72f962fc7b
commit d32b20fc7d

View file

@ -373,7 +373,7 @@ static inline int gpio_valid(int gpio)
static int check_gpio(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); printk(KERN_ERR "omap-gpio: invalid GPIO %d\n", gpio);
dump_stack(); dump_stack();
return -1; return -1;