i2c: cadence: fixup wait_for_completion_timeout return handling
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 10 Feb 2015 16:55:10 +0000 (11:55 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:20:45 +0000 (10:20 +0100)
commite2efb89768aebb93d3fa804bc6ee05888097797b
tree833d4cd0bf9360e3cb4d381ac35af9239fccf00d
parentbd9dd73c6a4e17c9345e81b46a52ca9d3157378f
i2c: cadence: fixup wait_for_completion_timeout return handling

return type of wait_for_completion_timeout is unsigned long not int. The
return variable is renamed to make the timeout condition clearly readable
and the type adjusted to unsigned long.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cadence.c