spi/bitbang: Factor out message transfer from message pump loop
authorMark Brown <broonie@linaro.org>
Fri, 5 Jul 2013 11:06:44 +0000 (12:06 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:29:53 +0000 (11:29 +0100)
commit91b308586793b48c590c9ac3528bbacb8ef53e15
treee42c0f4510cea05fb7e262fe7d9caaab5811c0ed
parent874b31585650afa6745de5133849365e7e6af418
spi/bitbang: Factor out message transfer from message pump loop

In order to make it easier to convert to transfer_one_message() lift the
code that does the actual message transfer out of the work function that
implements the message pump. This should have no functional impact, it's
just a simple code motion patch.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bitbang.c