projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3d4edf
)
regulator: tps6507x: Add missing of_node_put
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 17 Feb 2014 09:03:36 +0000
(14:33 +0530)
committer
Mark Brown
<broonie@linaro.org>
Tue, 18 Feb 2014 02:03:51 +0000
(11:03 +0900)
Add of_node_put to decrement the ref count.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps6507x-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps6507x-regulator.c
b/drivers/regulator/tps6507x-regulator.c
index
5a558da
..
e506e7f
100644
(file)
--- a/
drivers/regulator/tps6507x-regulator.c
+++ b/
drivers/regulator/tps6507x-regulator.c
@@
-395,6
+395,7
@@
static struct tps6507x_board *tps6507x_parse_dt_reg_data(
matches = tps6507x_matches;
ret = of_regulator_match(&pdev->dev, regulators, matches, count);
+ of_node_put(regulators);
if (ret < 0) {
dev_err(&pdev->dev, "Error parsing regulator init data: %d\n",
ret);