cell_edac: fix missing of_node_put

Decrease device_node refcount np after task completion.

Signed-off-by: Libo Chen <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
Libo Chen 2013-08-26 03:53:43 -03:00 • committed by Mauro Carvalho Chehab
commit 3e45588825

View file

@ -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)