All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: fsl_dma: Remove 'path' field from dma_object struct
@ 2015-01-07 17:21 Fabio Estevam
  2015-01-07 17:21 ` [PATCH 2/2] ASoC: fsl_dma: Do not use 'full_name' node reference Fabio Estevam
  2015-01-07 17:23 ` [PATCH 1/2] ASoC: fsl_dma: Remove 'path' field from dma_object struct Timur Tabi
  0 siblings, 2 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-01-07 17:21 UTC (permalink / raw)
  To: broonie; +Cc: Fabio Estevam, alsa-devel, timur

From: Fabio Estevam <fabio.estevam@freescale.com>

The 'path' field has not a real purpose, so let's get rid of it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Buit tested only.

 sound/soc/fsl/fsl_dma.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c
index 93d7e56..026da0a 100644
--- a/sound/soc/fsl/fsl_dma.c
+++ b/sound/soc/fsl/fsl_dma.c
@@ -63,7 +63,6 @@ struct dma_object {
 	struct ccsr_dma_channel __iomem *channel;
 	unsigned int irq;
 	bool assigned;
-	char path[1];
 };
 
 /*
@@ -910,7 +909,6 @@ static int fsl_soc_dma_probe(struct platform_device *pdev)
 		return -ENOMEM;
 	}
 
-	strcpy(dma->path, np->full_name);
 	dma->dai.ops = &fsl_dma_ops;
 	dma->dai.pcm_new = fsl_dma_new;
 	dma->dai.pcm_free = fsl_dma_free_dma_buffers;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-07 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 17:21 [PATCH 1/2] ASoC: fsl_dma: Remove 'path' field from dma_object struct Fabio Estevam
2015-01-07 17:21 ` [PATCH 2/2] ASoC: fsl_dma: Do not use 'full_name' node reference Fabio Estevam
2015-01-07 17:26   ` Timur Tabi
2015-01-07 17:26   ` Lars-Peter Clausen
2015-01-07 17:27     ` Timur Tabi
2015-01-07 17:47       ` Fabio Estevam
2015-01-07 17:54         ` Timur Tabi
2015-01-07 17:23 ` [PATCH 1/2] ASoC: fsl_dma: Remove 'path' field from dma_object struct Timur Tabi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.