spi/pl022: use dmaengine helper macros
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 8 Feb 2011 12:03:12 +0000 (13:03 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 15 Feb 2011 22:09:00 +0000 (15:09 -0700)
commitecd442fd9e388a31d382a62fb43e851048c282e1
treeb0b872742d1a4c30e46a35ebe89d96548021ec91
parentea3065df7ddffe4669136619ad712783ccee22c6
spi/pl022: use dmaengine helper macros

This simplifies the DMA code a bit by using the dmaengine helpers.
The cookie from descriptor submission can be ignored in this case
as has been established in review of the MMCI/PL180 driver.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c