From: Libo Chen Date: Mon, 26 Aug 2013 06:53:43 +0000 (-0300) Subject: cell_edac: fix missing of_node_put X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3e45588825c1c9c7b561102dd878d23af1b46bb9;p=linux-beck.git cell_edac: fix missing of_node_put Decrease device_node refcount np after task completion. Signed-off-by: Libo Chen Signed-off-by: Mauro Carvalho Chehab --- 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)