projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
regulator: tps65090: Add missing of_node_put
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 17 Feb 2014 09:03:37 +0000
(14:33 +0530)
committer
Mark Brown
<broonie@linaro.org>
Tue, 18 Feb 2014 02:05:00 +0000
(11:05 +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/tps65090-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65090-regulator.c
b/drivers/regulator/tps65090-regulator.c
index 676f75548f0028435b6795bc0371490c462a641e..5674f886c47188332fbb4f5b35a242637ef09915 100644
(file)
--- a/
drivers/regulator/tps65090-regulator.c
+++ b/
drivers/regulator/tps65090-regulator.c
@@
-188,6
+188,7
@@
static struct tps65090_platform_data *tps65090_parse_dt_reg_data(
ret = of_regulator_match(&pdev->dev, regulators, tps65090_matches,
ARRAY_SIZE(tps65090_matches));
+ of_node_put(regulators);
if (ret < 0) {
dev_err(&pdev->dev,
"Error parsing regulator init data: %d\n", ret);