summaryrefslogtreecommitdiff
path: root/drivers/dma/sh/sudmac.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-07-02 19:45:55 +0400
committerVinod Koul <vinod.koul@intel.com>2013-08-27 12:54:19 +0400
commitc1c63a14f4f2419d093acd7164eccdff315baa86 (patch)
tree6e49bb37b43512da60e934f7ef47d484f807a59d /drivers/dma/sh/sudmac.c
parentca8b387803072a16baf6d8090591b10bfdf4e253 (diff)
downloadlinux-c1c63a14f4f2419d093acd7164eccdff315baa86.tar.xz
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;