aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/sudmac.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-07-02 17:45:55 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-27 14:24:19 +0530
commitc1c63a14f4f2419d093acd7164eccdff315baa86 (patch)
tree6e49bb37b43512da60e934f7ef47d484f807a59d /drivers/dma/sh/sudmac.c
parentDMA: shdma: support the new CHCLR register layout (diff)
downloadlinux-dev-c1c63a14f4f2419d093acd7164eccdff315baa86.tar.xz
linux-dev-c1c63a14f4f2419d093acd7164eccdff315baa86.zip
DMA: shdma: switch to managed resource allocation
Switch shdma to using devm_* managed functions for allocation of memory, requesting IRQs, mapping IO resources etc. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh/sudmac.c')
-rw-r--r--drivers/dma/sh/sudmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c
index e7c94bbddb53..347790167e59 100644
--- a/drivers/dma/sh/sudmac.c
+++ b/drivers/dma/sh/sudmac.c
@@ -302,7 +302,6 @@ static void sudmac_chan_remove(struct sudmac_device *su_dev)
BUG_ON(!schan);
- shdma_free_irq(&sc->shdma_chan);
shdma_chan_remove(schan);
}
dma_dev->chancnt = 0;