spi: spi-imx: cleanup wait_for_completion handling
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 2 Feb 2015 08:30:35 +0000 (03:30 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2015 20:53:15 +0000 (20:53 +0000)
return type of wait_for_completion_timeout is unsigned long not int and
always returns >=0 , this patch adds a suitable return variable and
simplifies the return value checking as there is no < 0 case.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found