i2c-bfin-twi: integrate timeout timer with completion interface
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 22 Mar 2010 07:23:16 +0000 (03:23 -0400)
committerBen Dooks <ben-linux@fluff.org>
Wed, 19 May 2010 23:18:58 +0000 (00:18 +0100)
commitdd7319a5289deb4e17beb8851d343e7930b32c3b
tree6d6d7ba0727debac654901402fdcbeaad5f931f2
parent1bc2962e530527de829bf4b1eb99f24dc25d1828
i2c-bfin-twi: integrate timeout timer with completion interface

There isn't much point in managing our own custom timeout timer when the
completion interface already includes support for it.  This makes the
resulting code much simpler and robust.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-bfin-twi.c