aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dma-jz4740.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-08-01 06:20:10 -0400
committerVinod Koul <vinod.koul@intel.com>2014-08-04 04:11:50 -0400
commit31c1e5a1350ae8d1bc2018f5de8264266d9773e1 (patch)
tree0980f83c03fdfb45c7b81fe782df55ffbe8c7d90 /drivers/dma/dma-jz4740.c
parentf02323ec68328c3db3e3c23490cd80f9ce9c00fa (diff)
dmaengine: Remove the context argument to the prep_dma_cyclic operation
The argument is always set to NULL and never used. Remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dma-jz4740.c')
-rw-r--r--drivers/dma/dma-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dma-jz4740.c b/drivers/dma/dma-jz4740.c
index bfbce6b07902..6a9d89c93b1f 100644
--- a/drivers/dma/dma-jz4740.c
+++ b/drivers/dma/dma-jz4740.c
@@ -433,7 +433,7 @@ static struct dma_async_tx_descriptor *jz4740_dma_prep_slave_sg(
433static struct dma_async_tx_descriptor *jz4740_dma_prep_dma_cyclic( 433static struct dma_async_tx_descriptor *jz4740_dma_prep_dma_cyclic(
434 struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, 434 struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len,
435 size_t period_len, enum dma_transfer_direction direction, 435 size_t period_len, enum dma_transfer_direction direction,
436 unsigned long flags, void *context) 436 unsigned long flags)
437{ 437{
438 struct jz4740_dmaengine_chan *chan = to_jz4740_dma_chan(c); 438 struct jz4740_dmaengine_chan *chan = to_jz4740_dma_chan(c);
439 struct jz4740_dma_desc *desc; 439 struct jz4740_dma_desc *desc;