mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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>
This commit is contained in:
parent
72f962fc7b
commit
d32b20fc7d
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ static inline int gpio_valid(int gpio)
|
||||||
|
|
||||||
static int check_gpio(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);
|
printk(KERN_ERR "omap-gpio: invalid GPIO %d\n", gpio);
|
||||||
dump_stack();
|
dump_stack();
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue