diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-02-17 14:33:29 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-18 10:56:51 +0900 |
commit | 0079eb53c087245264347a8d7986758784d10823 (patch) | |
tree | b8588a6ded182e0ba002235fd0b9a14e3032a702 /drivers/regulator | |
parent | 6ea970a9be776f0cba23eb6d19890314b1e01107 (diff) |
regulator: act8865: Add missing of_node_put
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/act8865-regulator.c | 1 |
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, matched = of_regulator_match(dev, np, act8865_matches, ARRAY_SIZE(act8865_matches)); + of_node_put(np); if (matched <= 0) return matched; |