Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e455888 authored by Libo Chen's avatar Libo Chen Committed by Mauro Carvalho Chehab
Browse files

cell_edac: fix missing of_node_put



Decrease device_node refcount np after task completion.

Signed-off-by: default avatarLibo Chen <libo.chen@huawei.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 4d715a80
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -162,6 +162,7 @@ static void cell_edac_init_csrows(struct mem_ctl_info *mci)
			csrow->first_page, nr_pages);
			csrow->first_page, nr_pages);
		break;
		break;
	}
	}
	of_node_put(np);
}
}


static int cell_edac_probe(struct platform_device *pdev)
static int cell_edac_probe(struct platform_device *pdev)