diff mbox

OMAP: Fix Unlikely(x) < y

Message ID 4ACB4464.9080803@gmail.com (mailing list archive)
State Accepted
Commit aed93ee5b41b6b56e97631c713cacdef24417fa1
Headers show

Commit Message

Roel Kluin Oct. 6, 2009, 1:21 p.m. UTC
None
diff mbox

Patch

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;