dmaengine: edma: Refactor the dma device and channel struct initialization
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 16 Oct 2015 07:18:05 +0000 (10:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Oct 2015 01:22:45 +0000 (10:22 +0900)
commit02f77ef1197bd0acde8c0b7ed2b4dee7da7bcbf6
tree16d7d2353d2712ab939f8249467efabf6b8d892d
parent633e42b8c5465acf03671be7bd2866c486816596
dmaengine: edma: Refactor the dma device and channel struct initialization

Move all code under one function to do the dma device and eDMA channel
related setup so they are not scattered around the driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c