]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6340443cda0c03ae2794a47ec5024406b7c54517
tree833d4cd0bf9360e3cb4d381ac35af9239fccf00d
parentf5b68ded5e9d8c6b685dc584c0d728e75a127247
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