]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c9ef247c3e913324c67fb202c473186080a757c
tree1061adad4383c773a762fa2e6699543cfe48b21b
parent78e68ff9cf4518e44f308bd6644c2f7d4ef7a6c6
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