]> 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)
commit0f19cafece5fe3bf4cddee1c5ac79e6bf310586b
treeefdbf965c2825a705786eaed3c998613159460d9
parent8246bcb98ce7ee8324e55a56d18f435a45f0a0eb
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