dma: mv_xor: use mv_xor_chan pointers as arguments to self-test functions
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Nov 2012 14:09:42 +0000 (15:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:59 +0000 (15:58 +0100)
commit275cc0c8bd3c0a6b826d46a4d1a8135897387ca9
tree63633dacc680e4927de6f394beb3b1b5d7694cb8
parent8c75979d7ac8cdec927605336aeebea0c7f88f74
dma: mv_xor: use mv_xor_chan pointers as arguments to self-test functions

In preparation for the removal of the mv_xor_device structure, we
directly pass mv_xor_chan pointers to the self-test functions included
in the driver. These functions were anyway selecting the first (and
only channel) available in each DMA device, so the behaviour is
unchanged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/dma/mv_xor.c