Commit 0079eb53 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

regulator: act8865: Add missing of_node_put

Add of_node_put to decrement the ref count.

Signed-off-by: default avatarSachin Kamat <>
Signed-off-by: default avatarMark Brown <>
parent 6ea970a9
......@@ -221,6 +221,7 @@ static int act8865_pdata_from_dt(struct device *dev,
matched = of_regulator_match(dev, np,
act8865_matches, ARRAY_SIZE(act8865_matches));
if (matched <= 0)
return matched;
Supports Markdown
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