Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199398
b: refs/heads/master
c: e47a3bb
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Samuel Ortiz committed May 27, 2010
1 parent 177e50b commit 2673415
Show file tree
Hide file tree
Showing 2 changed files with 2 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: fffba64ca37e8f06020f89e878f0d76a8e121c4e
refs/heads/master: e47a3bbe4ffd4afe2b24c912598aee7ea1ecf738
4 changes: 1 addition & 3 deletions trunk/drivers/mfd/wm8350-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ static int wm8350_i2c_probe(struct i2c_client *i2c,
int ret = 0;

wm8350 = kzalloc(sizeof(struct wm8350), GFP_KERNEL);
if (wm8350 == NULL) {
kfree(i2c);
if (wm8350 == NULL)
return -ENOMEM;
}

i2c_set_clientdata(i2c, wm8350);
wm8350->dev = &i2c->dev;
Expand Down

0 comments on commit 2673415

Please sign in to comment.