Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334811
b: refs/heads/master
c: b4dd784
h: refs/heads/master
i:
  334809: 312fbdf
  334807: 5b64438
v: v3
  • Loading branch information
Wei Yongjun authored and Linus Walleij committed Oct 23, 2012
1 parent 0ddf4da commit ef63897
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: 268300be0e1a0b06582af55251294b268c3d4654
refs/heads/master: b4dd784ba8af03bf1f9ee5118c792d7abd4919bd
4 changes: 3 additions & 1 deletion trunk/drivers/pinctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,10 @@ static int pinctrl_groups_show(struct seq_file *s, void *what)
seq_printf(s, "group: %s\n", gname);
for (i = 0; i < num_pins; i++) {
pname = pin_get_name(pctldev, pins[i]);
if (WARN_ON(!pname))
if (WARN_ON(!pname)) {
mutex_unlock(&pinctrl_mutex);
return -EINVAL;
}
seq_printf(s, "pin %d (%s)\n", pins[i], pname);
}
seq_puts(s, "\n");
Expand Down

0 comments on commit ef63897

Please sign in to comment.