aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/act8865-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c
index c9f98b061307..2d2c3b004ab7 100644
--- a/drivers/regulator/act8865-regulator.c
+++ b/drivers/regulator/act8865-regulator.c
@@ -221,6 +221,7 @@ static int act8865_pdata_from_dt(struct device *dev,
221 221
222 matched = of_regulator_match(dev, np, 222 matched = of_regulator_match(dev, np,
223 act8865_matches, ARRAY_SIZE(act8865_matches)); 223 act8865_matches, ARRAY_SIZE(act8865_matches));
224 of_node_put(np);
224 if (matched <= 0) 225 if (matched <= 0)
225 return matched; 226 return matched;
226 227