]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: wmt: match return type of wait_for_completion_timeout
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Feb 2015 10:43:52 +0000 (05:43 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:29:53 +0000 (10:29 +0100)
commit8343cf72cd5a31f82b78fc3562e947d4873668f8
tree98bf27bd9394f76c83a8dd947c3905c4049bb985
parent744cfb157c4d5ea4e2df2e8ac90ed19bab398d02
i2c: wmt: match return type of wait_for_completion_timeout

return type of wait_for_completion_timeout is unsigned long not int. as
wait_result is only used for wait_for_completion_timeout here the type
is simply changed 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-wmt.c