diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-08-26 03:53:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-14 17:13:43 -0200 |
commit | 3e45588825c1c9c7b561102dd878d23af1b46bb9 (patch) | |
tree | e43098833ccbcfdc13b484d4934f05bf9969b575 /drivers/edac/cell_edac.c | |
parent | 4d715a805b6dd8989cac57b70066bfec0ae413ed (diff) |
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/edac/cell_edac.c')
-rw-r--r-- | drivers/edac/cell_edac.c | 1 |
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) |