Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328489
b: refs/heads/master
c: eb26cc9
h: refs/heads/master
i:
  328487: b3e66fa
v: v3
  • Loading branch information
Sachin Kamat authored and Linus Walleij committed Sep 27, 2012
1 parent 829ad28 commit 187b5dc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 4c854723c8bea457d3418ea2f398b6cfbcb3988e
refs/heads/master: eb26cc9c71f81f44777bbf5ca1bd72aa76997786
4 changes: 3 additions & 1 deletion trunk/drivers/pinctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,10 @@ static int pinctrl_register_one_pin(struct pinctrl_dev *pctldev,
pindesc->name = name;
} else {
pindesc->name = kasprintf(GFP_KERNEL, "PIN%u", number);
if (pindesc->name == NULL)
if (pindesc->name == NULL) {
kfree(pindesc);
return -ENOMEM;
}
pindesc->dynamic_name = true;
}

Expand Down

0 comments on commit 187b5dc

Please sign in to comment.