Commit 4d41c8cb authored by Peter Chen's avatar Peter Chen Committed by Bjorn Andersson

hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Signed-off-by: default avatarPeter Chen <>
Signed-off-by: default avatarBjorn Andersson <>
parent af8c34ce
......@@ -98,6 +98,7 @@ static int qcom_hwspinlock_probe(struct platform_device *pdev)
regmap = syscon_node_to_regmap(syscon);
if (IS_ERR(regmap))
return PTR_ERR(regmap);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment