Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308763
b: refs/heads/master
c: 65ee362
h: refs/heads/master
i:
  308761: 35db431
  308759: 1989160
v: v3
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed May 20, 2012
1 parent a396574 commit a40f769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: fa648e51f84d060ef991eeee4d7bacec45d7fbfd
refs/heads/master: 65ee362cb2c13bd164ade0eda66919a2e16d8a89
10 changes: 1 addition & 9 deletions trunk/drivers/mfd/wm8350-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,7 @@ static int wm8350_i2c_probe(struct i2c_client *i2c,
i2c_set_clientdata(i2c, wm8350);
wm8350->dev = &i2c->dev;

ret = wm8350_device_init(wm8350, i2c->irq, i2c->dev.platform_data);
if (ret < 0)
goto err;

return ret;

err:
regmap_exit(wm8350->regmap);
return ret;
return wm8350_device_init(wm8350, i2c->irq, i2c->dev.platform_data);
}

static int wm8350_i2c_remove(struct i2c_client *i2c)
Expand Down

0 comments on commit a40f769

Please sign in to comment.