can: janz-ican3: fix type mismatch in assignment
authorNicholas Mc Guire <der.herr@hofr.at>
Sun, 1 Feb 2015 08:34:34 +0000 (03:34 -0500)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Feb 2015 13:06:43 +0000 (14:06 +0100)
commit8a00785edd166361e08c6cf710bf3acdd6038005
treee569c83b41d1683b39ea9a09755b02e45b825f1e
parent7e8acbb69ee2b855288afc61e3794a30e3582977
can: janz-ican3: fix type mismatch in assignment

return type of wait_for_completion_timeout is unsigned long not int, this patch
removes the type mismatch by moving the call into the condition.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c