Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256695
b: refs/heads/master
c: 12610be
h: refs/heads/master
i:
  256693: f52ecc4
  256691: 7e1e2bf
  256687: cc0e073
v: v3
  • Loading branch information
Linus Walleij authored and Grant Likely committed Jun 13, 2011
1 parent ee78cbd commit e47c935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5523f86beab2b87d42cd58aca9bd5cee5466c6e3
refs/heads/master: 12610be33df5563d3f8cb141f231d4dc5b2a317f
6 changes: 3 additions & 3 deletions trunk/drivers/gpio/gpio-74x164.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct gen_74x164_chip {
u8 port_config;
};

static struct gen_74x164_chip *gpio_to_chip(struct gpio_chip *gc)
static struct gen_74x164_chip *gpio_to_74x164_chip(struct gpio_chip *gc)
{
return container_of(gc, struct gen_74x164_chip, gpio_chip);
}
Expand All @@ -36,7 +36,7 @@ static int __gen_74x164_write_config(struct gen_74x164_chip *chip)

static int gen_74x164_get_value(struct gpio_chip *gc, unsigned offset)
{
struct gen_74x164_chip *chip = gpio_to_chip(gc);
struct gen_74x164_chip *chip = gpio_to_74x164_chip(gc);
int ret;

mutex_lock(&chip->lock);
Expand All @@ -49,7 +49,7 @@ static int gen_74x164_get_value(struct gpio_chip *gc, unsigned offset)
static void gen_74x164_set_value(struct gpio_chip *gc,
unsigned offset, int val)
{
struct gen_74x164_chip *chip = gpio_to_chip(gc);
struct gen_74x164_chip *chip = gpio_to_74x164_chip(gc);

mutex_lock(&chip->lock);
if (val)
Expand Down

0 comments on commit e47c935

Please sign in to comment.