aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sa11x0-dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-03-16 04:30:27 -0400
committerVinod Koul <vinod.koul@intel.com>2015-03-18 13:15:49 -0400
commit7595c5717f2be8708f5e6bdd9365f15354ccd024 (patch)
tree1405aaf8c648ea95e413ce5bc35b649ac9e36c79 /drivers/dma/sa11x0-dma.c
parentb07064aa080c3c769ab7698e63bed81e0f29155d (diff)
dmaengine: sa11x0: remove device_alloc_chan_resources handler
Now that device_alloc_chan_resources handler in not mandatory, remove dummy implementations Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
-rw-r--r--drivers/dma/sa11x0-dma.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c
index 5adf5407a8cb..dafe13faa940 100644
--- a/drivers/dma/sa11x0-dma.c
+++ b/drivers/dma/sa11x0-dma.c
@@ -389,11 +389,6 @@ static void sa11x0_dma_tasklet(unsigned long arg)
389} 389}
390 390
391 391
392static int sa11x0_dma_alloc_chan_resources(struct dma_chan *chan)
393{
394 return 0;
395}
396
397static void sa11x0_dma_free_chan_resources(struct dma_chan *chan) 392static void sa11x0_dma_free_chan_resources(struct dma_chan *chan)
398{ 393{
399 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan); 394 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan);
@@ -835,7 +830,6 @@ static int sa11x0_dma_init_dmadev(struct dma_device *dmadev,
835 830
836 INIT_LIST_HEAD(&dmadev->channels); 831 INIT_LIST_HEAD(&dmadev->channels);
837 dmadev->dev = dev; 832 dmadev->dev = dev;
838 dmadev->device_alloc_chan_resources = sa11x0_dma_alloc_chan_resources;
839 dmadev->device_free_chan_resources = sa11x0_dma_free_chan_resources; 833 dmadev->device_free_chan_resources = sa11x0_dma_free_chan_resources;
840 dmadev->device_config = sa11x0_dma_device_config; 834 dmadev->device_config = sa11x0_dma_device_config;
841 dmadev->device_pause = sa11x0_dma_device_pause; 835 dmadev->device_pause = sa11x0_dma_device_pause;