dma: mv_xor: introduce a mv_chan_to_devp() helper
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Nov 2012 13:17:18 +0000 (14:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:58 +0000 (15:58 +0100)
commitc98c17813e3985ebfd657496bfb49d7174d1fad1
tree0db86c2fcc37c78632b3d05722161b5897218c8d
parentc35064c4b6f4e03a4f40cc88e3257525a7b31a68
dma: mv_xor: introduce a mv_chan_to_devp() helper

In many place, we need to get the 'struct device *' pointer from a
'struct mv_chan *', so we add a helper that makes this a bit
easier. It will also help reducing the change noise in further
patches.

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