summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-11-17 23:39:03 +0100
committerTony Lindgren <tony@atomide.com>2009-11-18 19:33:41 +0100
commitd32b20fc7dad87ac95fcc73fca3606c0db85f210 (patch)
tree2d22225ea3aa82d083767f9eebfb9bfd13a15d31 /arch
parentomap3: clock: Fixed dpll3_m2x2 rate calculation (diff)
downloadlinux-d32b20fc7dad87ac95fcc73fca3606c0db85f210.tar.xz
linux-d32b20fc7dad87ac95fcc73fca3606c0db85f210.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 71ebd7fcfea1..7c345b757df1 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;