projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14256f7
)
regulator: s2mps11: Add missing of_node_put
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 4 Mar 2014 05:46:58 +0000
(11:16 +0530)
committer
Mark Brown
<broonie@linaro.org>
Wed, 19 Mar 2014 13:11:07 +0000
(13:11 +0000)
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/s2mps11.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/s2mps11.c
b/drivers/regulator/s2mps11.c
index 906d764e98a8e7c83b8cb2345eb232a9310d4459..1f6fd4c45006e93e56805ce65e3128c4a87103e5 100644
(file)
--- a/
drivers/regulator/s2mps11.c
+++ b/
drivers/regulator/s2mps11.c
@@
-624,6
+624,7
@@
static int s2mps11_pmic_probe(struct platform_device *pdev)
}
of_regulator_match(&pdev->dev, reg_np, rdata, s2mps11->rdev_num);
+ of_node_put(reg_np);
common_reg:
platform_set_drvdata(pdev, s2mps11);