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)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 20 Jun 2012 10:53:16 +0000 (16:23 +0530)
commit3052cc2c92f11875d111d5b7b9b3ad535b3128b9
tree501f397160adb99d38907c69cd30e0da74f034a9
parent0a0760358cbe922ba7440389ddae649bc56221ef
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>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
include/linux/dmaengine.h