Re: [PATCH v2] i2c: designware: fixup return handling of wait_for_completion_timeout
From: Wolfram Sang
Date: Sun Mar 15 2015 - 05:23:56 EST
On Tue, Feb 10, 2015 at 03:11:14AM -0500, Nicholas Mc Guire wrote:
> 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 <hofrat@xxxxxxxxx>
Applied to for-next, thanks!
Attachment:
signature.asc
Description: Digital signature