mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/9] regulator: act8865: Add missing of_node_put
@ 2014-02-17  9:03 Sachin Kamat
  2014-02-17  9:03 ` [PATCH 2/9] regulator: as3722: " Sachin Kamat
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Sachin Kamat @ 2014-02-17  9:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: broonie, lgirdwood, sachin.kamat

Add of_node_put to decrement the ref count.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/regulator/act8865-regulator.c |    1 +
 1 file changed, 1 insertion(+)

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;
 
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-02-19  1:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17  9:03 [PATCH 1/9] regulator: act8865: Add missing of_node_put Sachin Kamat
2014-02-17  9:03 ` [PATCH 2/9] regulator: as3722: " Sachin Kamat
2014-02-18  1:59   ` Mark Brown
2014-02-17  9:03 ` [PATCH 3/9] regulator: da9063: " Sachin Kamat
2014-02-18  2:00   ` Mark Brown
2014-02-17  9:03 ` [PATCH 4/9] regulator: max77686: " Sachin Kamat
2014-02-18  2:01   ` Mark Brown
2014-02-17  9:03 ` [PATCH 5/9] regulator: max77693: " Sachin Kamat
2014-02-18  2:01   ` Mark Brown
2014-02-17  9:03 ` [PATCH 6/9] regulator: max8660: " Sachin Kamat
2014-02-18  2:02   ` Mark Brown
2014-02-17  9:03 ` [PATCH 7/9] regulator: max8998: " Sachin Kamat
2014-02-18  2:02   ` Mark Brown
2014-02-17  9:03 ` [PATCH 8/9] regulator: tps6507x: " Sachin Kamat
2014-02-18  2:04   ` Mark Brown
2014-02-17  9:03 ` [PATCH 9/9] regulator: tps65090: " Sachin Kamat
2014-02-18  2:05   ` Mark Brown
2014-02-18  1:57 ` [PATCH 1/9] regulator: act8865: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®