spi: Do not require a completion
authorMark Brown <broonie@linaro.org>
Tue, 25 Mar 2014 19:28:22 +0000 (19:28 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 25 Mar 2014 19:30:06 +0000 (19:30 +0000)
commit1e25cd4729bd76662d02b142a6a7f8504bb6aea7
treeefdbf965c2825a705786eaed3c998613159460d9
parenta6f87fad7b5132f026592729ccf65b995cdec35d
spi: Do not require a completion

There is no real reason why we require transfers to have a completion and
the only user of the completion now checks to see if one has been provided
before using it so stop enforcing this. This makes it more convenient for
drivers to chain multiple asynchronous transfers together.

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