diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-02 03:30:35 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-04 20:53:15 +0000 |
commit | 56536a7ff59ccd5cb2d9a37dce4501a432456de0 (patch) | |
tree | a5cd9a5f8115715b0ff9e02f9db87224a8f017e2 /drivers/clk/berlin/bg2q.c | |
parent | 4b5d6aadce5e054d33719a7490076294c83d2f88 (diff) |
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 <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/clk/berlin/bg2q.c')
0 files changed, 0 insertions, 0 deletions