Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360750
b: refs/heads/master
c: 24d7628
h: refs/heads/master
v: v3
  • Loading branch information
Alexandre Courbot authored and Grant Likely committed Mar 2, 2013
1 parent fd9408a commit 0b41067
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: def634338d3ffb32fbe9b0a2d70cc24ef909cd4f
refs/heads/master: 24d7628fe8b10bb3770a11ddf71719613832a298
2 changes: 1 addition & 1 deletion trunk/drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ static int gpio_ensure_requested(struct gpio_desc *desc)
return 0;
}

/* caller holds gpio_lock *OR* gpio is marked as requested */
static struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc)
{
return desc ? desc->chip : NULL;
}

/* caller holds gpio_lock *OR* gpio is marked as requested */
struct gpio_chip *gpio_to_chip(unsigned gpio)
{
return gpiod_to_chip(gpio_to_desc(gpio));
Expand Down

0 comments on commit 0b41067

Please sign in to comment.