Skip to content
Snippets Groups Projects
Commit d32b20fc authored by Roel Kluin's avatar Roel Kluin Committed by Tony Lindgren
Browse files

omap: fix unlikely(x) < y


The closing parenthesis was not in the right location.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 72f962fc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment