projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d715a8
)
cell_edac: fix missing of_node_put
author
Libo Chen
<clbchenlibo.chen@huawei.com>
Mon, 26 Aug 2013 06:53:43 +0000
(
03:53
-0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Thu, 14 Nov 2013 19:13:43 +0000
(17:13 -0200)
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>
drivers/edac/cell_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/cell_edac.c
b/drivers/edac/cell_edac.c
index c2eaf334b90b0f4c2cff3cc4039c1c85577fbcaf..493dc30bfe1395c0949201d863fef515a0cdf568 100644
(file)
--- 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)