Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321951
b: refs/heads/master
c: d599bfb
h: refs/heads/master
i:
  321949: 1b40b6e
  321947: f604592
  321943: 1cf6bbb
  321935: a5e57bf
  321919: e83eab3
v: v3
  • Loading branch information
Richard Genoud authored and Linus Walleij committed Aug 17, 2012
1 parent 1443cb1 commit ae654c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 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: ac5aa7f9e0891a115ab307b4bdde9c55b9232970
refs/heads/master: d599bfb324ad74e63b616809c1c13c76d1493cf9
13 changes: 3 additions & 10 deletions trunk/drivers/pinctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,7 @@ static struct pinctrl *pinctrl_get_locked(struct device *dev)
if (p != NULL)
return ERR_PTR(-EBUSY);

p = create_pinctrl(dev);
if (IS_ERR(p))
return p;

return p;
return create_pinctrl(dev);
}

/**
Expand Down Expand Up @@ -738,11 +734,8 @@ static struct pinctrl_state *pinctrl_lookup_state_locked(struct pinctrl *p,
dev_dbg(p->dev, "using pinctrl dummy state (%s)\n",
name);
state = create_state(p, name);
if (IS_ERR(state))
return state;
} else {
return ERR_PTR(-ENODEV);
}
} else
state = ERR_PTR(-ENODEV);
}

return state;
Expand Down

0 comments on commit ae654c1

Please sign in to comment.