DMA: shdma: switch to managed resource allocation
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 2 Jul 2013 15:45:55 +0000 (17:45 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Aug 2013 08:54:19 +0000 (14:24 +0530)
commitc1c63a14f4f2419d093acd7164eccdff315baa86
tree6e49bb37b43512da60e934f7ef47d484f807a59d
parentca8b387803072a16baf6d8090591b10bfdf4e253
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>
drivers/dma/sh/shdma-base.c
drivers/dma/sh/shdma.c
drivers/dma/sh/sudmac.c
include/linux/shdma-base.h