From: Nicholas Mc Guire Date: Mon, 2 Feb 2015 08:30:35 +0000 (-0500) Subject: spi: spi-imx: cleanup wait_for_completion handling X-Git-Tag: fixes-v4.0-rc1~184^2~3^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56536a7ff59ccd5cb2d9a37dce4501a432456de0;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed