]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-eg20t: Modify returned value s32 to long
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Wed, 12 Oct 2011 04:13:01 +0000 (13:13 +0900)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:09:33 +0000 (11:09 +0100)
commitf9a0109cb5b5f4a66b3a0950695598ca0ed57da8
tree5d2ca4c6cc4ce75e9754a33cd0c6a8150188431d
parent2e823561a24a9eb1c1614376bda6f2b78db72e37
i2c-eg20t: Modify returned value s32 to long

Type of wait_event_timeout is long not s32.
This patch replaces s32 with long.
Additionally, delete negative processing(ret < 0).

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-eg20t.c