Re: [PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling

2015-02-04 Thread Mark Brown
On Mon, Feb 02, 2015 at 03:30:35AM -0500, Nicholas Mc Guire wrote: > 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. Applied, thanks.

Re: [PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling

2015-02-04 Thread Mark Brown
On Mon, Feb 02, 2015 at 03:30:35AM -0500, Nicholas Mc Guire wrote: 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. Applied, thanks.

[PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling

2015-02-02 Thread Nicholas Mc Guire
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 --- The return type of wait_for_completion_timeout is

[PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling

2015-02-02 Thread Nicholas Mc Guire
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 hof...@osadl.org --- The return type of