i2c: ismt: fix type of return var of wait_for_completion_timeout
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Feb 2015 08:03:30 +0000 (03:03 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:50:02 +0000 (10:50 +0100)
commit1abdd5d957e1fc789a2981d27399f56b0682f53e
treec344972f4c49f81d97b54c65e6139c069f4d1571
parent73958562f1ca5c91d802c845856c4a9edcf468cb
i2c: ismt: fix type of return var of wait_for_completion_timeout

return type of wait_for_completion_timeout is unsigned long not int. As
ret is in used for other calls a new appropriately typed variable timeout
is added to handle wait_for_completion_timeout

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ismt.c