projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f962f
)
omap: fix unlikely(x) < y
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:39:03 +0000
(14:39 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 18 Nov 2009 18:33:41 +0000
(10:33 -0800)
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>
arch/arm/plat-omap/gpio.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/gpio.c
b/arch/arm/plat-omap/gpio.c
index
71ebd7f
..
7c345b7
100644
(file)
--- 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;