Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336460
b: refs/heads/master
c: 7d8dd20
h: refs/heads/master
v: v3
  • Loading branch information
Tushar Behera authored and Linus Walleij committed Nov 23, 2012
1 parent df1f7cd commit 8832a16
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: 5f007db68cc01e068f3e12b30151f3b68418cd79
refs/heads/master: 7d8dd20e56be0196fd015feb19ca38449c607794
2 changes: 1 addition & 1 deletion trunk/drivers/pinctrl/spear/pinctrl-plgpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static int plgpio_to_irq(struct gpio_chip *chip, unsigned offset)
{
struct plgpio *plgpio = container_of(chip, struct plgpio, chip);

if (plgpio->irq_base < 0)
if (IS_ERR_VALUE(plgpio->irq_base))
return -EINVAL;

return irq_find_mapping(plgpio->irq_domain, offset);
Expand Down

0 comments on commit 8832a16

Please sign in to comment.