dmaengine: Add wrapper for device_tx_status callback
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 11 Jun 2012 18:11:40 +0000 (20:11 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 14:38:27 +0000 (15:38 +0100)
commitc32c44cb58d212513243744878423abd207bc8a8
tree6b742dca75be874ceadb1bd142d4b5fb688ecac5
parentf62ae7bda434ac5d2bcd6feb4f5bdb5885633177
dmaengine: Add wrapper for device_tx_status callback

This patch adds a small inline wrapper for the devivce_tx_status callback of a
dma device. This makes the source code of users of this function a bit more
compact and a bit more legible.

E.g.:
-status = chan->device->device_tx_status(chan, cookie, &state)
+status = dmaengine_tx_status(chan, cookie, &state)

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/dmaengine.h