summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLibo Chen <clbchenlibo.chen@huawei.com>2013-08-26 10:53:43 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-14 23:13:43 +0400
commit3e45588825c1c9c7b561102dd878d23af1b46bb9 (patch)
treee43098833ccbcfdc13b484d4934f05bf9969b575 /drivers
parent4d715a805b6dd8989cac57b70066bfec0ae413ed (diff)
downloadlinux-3e45588825c1c9c7b561102dd878d23af1b46bb9.tar.xz
cell_edac: fix missing of_node_put
Decrease device_node refcount np after task completion. Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/cell_edac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
index c2eaf334b90b..493dc30bfe13 100644
--- a/drivers/edac/cell_edac.c
+++ b/drivers/edac/cell_edac.c
@@ -162,6 +162,7 @@ static void cell_edac_init_csrows(struct mem_ctl_info *mci)
csrow->first_page, nr_pages);
break;
}
+ of_node_put(np);
}
static int cell_edac_probe(struct platform_device *pdev)