]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c974cffc6db2c922c81b96926f006e7da136334
tree6b742dca75be874ceadb1bd142d4b5fb688ecac5
parentd1136212f2524861636454fa7185ffe174210b30
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