Skip to content

Commit

Permalink
omap: fix unlikely(x) < y
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RoelKluin authored and tmlind committed Nov 18, 2009
1 parent 72f962f commit d32b20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/gpio.c
Expand Up @@ -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;
Expand Down

0 comments on commit d32b20f

Please sign in to comment.