Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300111
b: refs/heads/master
c: 968c2c1
h: refs/heads/master
i:
  300109: 5f3c4c7
  300107: c945507
  300103: 8a6dcb5
  300095: bbcaf1f
v: v3
  • Loading branch information
Mark Brown committed May 7, 2012
1 parent 8e99d33 commit 6125d74
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f55205f4d4a8823a11bb8b37ef2ecbd78fb09463
refs/heads/master: 968c2c1707a3396ccd6e7e6c5ddaf658a6d3bd66
5 changes: 4 additions & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,10 @@ void devm_regulator_put(struct regulator *regulator)

rc = devres_destroy(regulator->dev, devm_regulator_release,
devm_regulator_match, regulator);
WARN_ON(rc);
if (rc == 0)
regulator_put(regulator);
else
WARN_ON(rc);
}
EXPORT_SYMBOL_GPL(devm_regulator_put);

Expand Down

0 comments on commit 6125d74

Please sign in to comment.