projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f784d9c
)
DMA: shdma: (cosmetic) don't re-calculate a pointer
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Thu, 6 Jun 2013 15:37:13 +0000
(17:37 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:58 +0000
(11:40 +0530)
Use an existing pointer instead of retrieving it again.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/sh/shdma.c
b/drivers/dma/sh/shdma.c
index b70709b030d804e7e2d465fb98754bbb582f9199..a5a1887c34b559f70a01f9369876988681fc1f45 100644
(file)
--- a/
drivers/dma/sh/shdma.c
+++ b/
drivers/dma/sh/shdma.c
@@
-729,7
+729,7
@@
static int sh_dmae_probe(struct platform_device *pdev)
goto eshdma;
/* platform data */
- shdev->pdata = pd
ev->dev.platform_d
ata;
+ shdev->pdata = pdata;
if (pdata->chcr_offset)
shdev->chcr_offset = pdata->chcr_offset;