diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-08-26 08:53:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-14 20:13:43 +0100 |
commit | 3e45588825c1c9c7b561102dd878d23af1b46bb9 (patch) | |
tree | e43098833ccbcfdc13b484d4934f05bf9969b575 /drivers/edac | |
parent | sb_edac: add support for Ivy Bridge (diff) | |
download | linux-3e45588825c1c9c7b561102dd878d23af1b46bb9.tar.xz linux-3e45588825c1c9c7b561102dd878d23af1b46bb9.zip |
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')
-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) |