spi: mxs: cleanup wait_for_completion return handling
authorNicholas Mc Guire <hofrat@osadl.org>
Thu, 5 Feb 2015 14:47:06 +0000 (09:47 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 5 Feb 2015 18:04:57 +0000 (18:04 +0000)
commitf2234691d7d7c6154f6d850365cf6cf63cc6eb74
tree8e500a03221f7d7305acd7ff7ba196aecd9d4e24
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
spi: mxs: cleanup wait_for_completion return handling

return type of wait_for_completion_timeout is unsigned long not int, this
patch uses the return value of wait_for_completion_timeout in the condition
directly rather than adding a additional appropriately typed variable.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mxs.c