Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144268
b: refs/heads/master
c: 53032da
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley authored and Liam Girdwood committed Apr 28, 2009
1 parent 6bc22dd commit a56e130
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd78dfc6c6e321a310a73ef7b0df3d262704dd55
refs/heads/master: 53032dafc6b93ac178ca2340ff8eb4ee2b3d1a92
4 changes: 4 additions & 0 deletions trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,6 +2080,10 @@ struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc,

scrub:
device_unregister(&rdev->dev);
/* device core frees rdev */
rdev = ERR_PTR(ret);
goto out;

clean:
kfree(rdev);
rdev = ERR_PTR(ret);
Expand Down

0 comments on commit a56e130

Please sign in to comment.