Re: [PATCH 1/2 v3] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Mark Brown
On Mon, Feb 02, 2015 at 04:51:52AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int, this > patch adds an appropriate variable and fixes up the assignment. > As the string in dev_err already states "timeout" there > is little point in printing

[PATCH 1/2 v3] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states "timeout" there is little point in printing the 0 here. Signed-off-by: Nicholas Mc Guire --- v2: typo fixed as

Re: [PATCH 1/2 v3] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Mark Brown
On Mon, Feb 02, 2015 at 04:51:52AM -0500, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states timeout there is little point in printing the 0

[PATCH 1/2 v3] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states timeout there is little point in printing the 0 here. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- v2: typo