projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b304746
)
mfd: qcom_rpm: Add missing of_node_put after calling of_parse_phandle
author
Peter Chen
<
[email protected]
>
Fri, 15 Jul 2016 09:38:46 +0000
(17:38 +0800)
committer
Lee Jones
<
[email protected]
>
Tue, 4 Oct 2016 14:48:01 +0000
(15:48 +0100)
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.
Signed-off-by: Peter Chen <
[email protected]
>
Reviewed-by: Bjorn Andersson <
[email protected]
>
Signed-off-by: Lee Jones <
[email protected]
>
drivers/mfd/qcom_rpm.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/qcom_rpm.c
b/drivers/mfd/qcom_rpm.c
index a74210df59693c9813708eb0db435c3674c33c40..d3300714c27b715f44126edd12f5ee42b8688a4c 100644
(file)
--- a/
drivers/mfd/qcom_rpm.c
+++ b/
drivers/mfd/qcom_rpm.c
@@
-589,6
+589,7
@@
static int qcom_rpm_probe(struct platform_device *pdev)
}
rpm->ipc_regmap = syscon_node_to_regmap(syscon_np);
+ of_node_put(syscon_np);
if (IS_ERR(rpm->ipc_regmap))
return PTR_ERR(rpm->ipc_regmap);