spi: atmel: Refactor spi-atmel to use SPI framework queue
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 9 Jan 2014 05:19:15 +0000 (13:19 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 9 Jan 2014 17:41:23 +0000 (17:41 +0000)
commit8090d6d1a415d3ae1a7208995decfab8f60f4f36
tree1061adad4383c773a762fa2e6699543cfe48b21b
parentd3b72c7e6bf33185a5de1db2164ff237759c554c
spi: atmel: Refactor spi-atmel to use SPI framework queue

Replace the deprecated master->transfer with transfer_one_message()
and allow the SPI subsystem handle all the queuing of messages.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c