Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336812
b: refs/heads/master
c: 41b3996
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Shiyan authored and Linus Walleij committed Oct 24, 2012
1 parent f11d9c8 commit 0baf82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc4e2514995d9cd7f3e1a67098ce65d72acf8ec7
refs/heads/master: 41b3996e3b6825bd3a0624d62fde53fbad092ed0
2 changes: 1 addition & 1 deletion trunk/drivers/gpio/gpio-clps711x.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void __iomem *clps711x_pdirs[] = {

static int gpio_clps711x_get(struct gpio_chip *chip, unsigned offset)
{
return !!readb(clps711x_port(chip)) & (1 << offset);
return !!(readb(clps711x_port(chip)) & (1 << offset));
}

static void gpio_clps711x_set(struct gpio_chip *chip, unsigned offset,
Expand Down

0 comments on commit 0baf82f

Please sign in to comment.