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:
4416176
)
ARM: edma: No need to clean the pdata in edma_of_parse_dt()
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Fri, 16 May 2014 12:17:08 +0000
(15:17 +0300)
committer
Sekhar Nori
<nsekhar@ti.com>
Thu, 22 May 2014 05:17:45 +0000
(10:47 +0530)
The pdata has been just allocated with devm_kzalloc() in
edma_setup_info_from_dt() and passed to this function.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/edma.c
b/arch/arm/common/edma.c
index b9bd42ad2d6e3585fc94f06ddee8cb6bb95f788e..fade9ada81f8b2aa53ea067862ac1ebd6baed489 100644
(file)
--- a/
arch/arm/common/edma.c
+++ b/
arch/arm/common/edma.c
@@
-1490,8
+1490,6
@@
static int edma_of_parse_dt(struct device *dev,
struct edma_rsv_info *rsv_info;
s8 (*queue_tc_map)[2], (*queue_priority_map)[2];
- memset(pdata, 0, sizeof(struct edma_soc_info));
-
ret = of_property_read_u32(node, "dma-channels", &value);
if (ret < 0)
return ret;