From: Nicholas Mc Guire Date: Tue, 10 Feb 2015 08:11:14 +0000 (-0500) Subject: i2c: designware: fixup return handling of wait_for_completion_timeout X-Git-Tag: omap-for-v4.1/fixes-rc1~146^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d51e591931b878be7a16dacb37868a1e7ae8d1;p=pandora-kernel.git i2c: designware: fixup return handling of wait_for_completion_timeout return type of wait_for_completion_timeout is unsigned long not int, rather than introducing a new variable the wait_for_completion_timeout is moved into the if condition as the return value is only used to detect timeout. Signed-off-by: Nicholas Mc Guire Reviewed-by: Jarkko Nikula Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed