From: Thomas Petazzoni Date: Thu, 15 Nov 2012 12:01:59 +0000 (+0100) Subject: dma: mv_xor: simplify dma_sync_single_for_cpu() calls X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2~6^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c35064c4b6f4e03a4f40cc88e3257525a7b31a68;p=pandora-kernel.git dma: mv_xor: simplify dma_sync_single_for_cpu() calls In mv_xor_memcpy_self_test() and mv_xor_xor_self_test(), all DMA functions are called by passing dma_chan->device->dev as the 'device *', except the calls to dma_sync_single_for_cpu() which uselessly goes through mv_chan->device->pdev->dev. Simplify this by using dma_chan->device->dev direclty in dma_sync_single_for_cpu() calls. Signed-off-by: Thomas Petazzoni --- Reading git-diff-tree failed