dmaengine: pl330: Merge dma_pl330_dmac and pl330_dmac structs
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:29 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:04 +0000 (22:01 +0530)
commitf6f2421c0a1cb6caffc85b13ab8f9bdd8f8278c3
tree9c818d0ef907a35192da7b5768061fe93b16a1d8
parentfbbcd9be96a0295e9d127e124f72fa0039f53d8e
dmaengine: pl330: Merge dma_pl330_dmac and pl330_dmac structs

Both the dma_pl330_dmac and the pl330_dmac struct have the same lifetime and the
separation of them is a relict of this having been two different drivers in the
past. Merging them into one struct makes the code a bit simpler as it for
example allows to remove the pointers going back and forth between the two
structs.

While we are at it also directly embed the pl330_info struct into the
pl330_dmac struct as this allows to remove some more redundant fields.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c