Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280537
b: refs/heads/master
c: 58072cb
h: refs/heads/master
i:
  280535: fe23510
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Nov 10, 2011
1 parent ec6fca0 commit 765bd49
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: c48a9d74926c83f62b0251eff0a3dde259923856
refs/heads/master: 58072cbfc522c2520e34333a53c8f17bb1adb1a0
4 changes: 3 additions & 1 deletion trunk/drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,14 @@ struct regmap *regmap_init(struct device *dev,

ret = regcache_init(map);
if (ret < 0)
goto err_map;
goto err_free_workbuf;

regmap_debugfs_init(map);

return map;

err_free_workbuf:
kfree(map->work_buf);
err_map:
kfree(map);
err:
Expand Down

0 comments on commit 765bd49

Please sign in to comment.