dmaengine: pl330: Embed pl330_req directly into dma_pl330_desc
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:30 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:04 +0000 (22:01 +0530)
commit9dc5a315fe515e92f40c387ae15f8b760568834e
treef8f268c720ad6db98f6f39ef0f441591450e5487
parentf6f2421c0a1cb6caffc85b13ab8f9bdd8f8278c3
dmaengine: pl330: Embed pl330_req directly into dma_pl330_desc

The pl330_req struct is embedded into the dma_pl330_desc struct. But half of the
pl330_req struct are pointers to other fields of the dma_pl330_desc struct it is
embedded to. By directly embedding the fields from the pl330_req struct into the
dma_pl330_desc struct and reworking the code to work with the dma_pl330_desc
struct those pointers can be eliminated. This slightly simplifies the code.

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