]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ed6cccb2ea38bb4293c66f1ed782153d47f944e
treeefdbf965c2825a705786eaed3c998613159460d9
parent465cc3bd4372ab76d63a2982eaf9901ccf6c5902
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