dmaengine: pl330: Change type pl330_chid from void * to struct pl330_thread *
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:26 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:03 +0000 (22:01 +0530)
commit65ad60600f5a3bf4c4edfbb95992af6ff2dfc18a
tree49a3b6b5e78b4b2f16540712094a6b55b0e1ab1e
parent6079d38ca21e80c13af2d8f8a7b062a0e28615c9
dmaengine: pl330: Change type pl330_chid from void * to struct pl330_thread *

The pl330_chid field of the dma_pl330_chan struct always holds a pointer to the
thread that is associated with the channel. Changing its type form void * to
struct pl330_thread makes things more type safe and removes the need for
unnecessary typecasts. While we are at it also rename the field from the cryptic
pl330_chid to thread.

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