commit | 56536a7ff59ccd5cb2d9a37dce4501a432456de0 | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Mon Feb 02 03:30:35 2015 -0500 |
committer | Mark Brown <broonie@kernel.org> | Wed Feb 04 20:53:15 2015 +0000 |
tree | a5cd9a5f8115715b0ff9e02f9db87224a8f017e2 | |
parent | 4b5d6aadce5e054d33719a7490076294c83d2f88 [diff] |
spi: spi-imx: cleanup wait_for_completion handling 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>