]> git.karo-electronics.de Git - linux-beck.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)
commitc7b41f3affc63644f398b5faa170b1f531b406a8
tree5d2ca4c6cc4ce75e9754a33cd0c6a8150188431d
parent93e4ad74da14c8d5564cfc0b57c40ca311e53d47
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