i2c-eg20t: add helper function for xfer check
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Thu, 19 Apr 2012 06:38:04 +0000 (15:38 +0900)
committerWolfram Sang <w.sang@pengutronix.de>
Sat, 12 May 2012 12:28:13 +0000 (14:28 +0200)
commit5cc056327ae3a3fac7411691c27ac61be2c55957
tree60b697dc026915c057ac935e16f74e3596d0959c
parent2761a81cee6874f73ebaa81f1a9e45147907c38b
i2c-eg20t: add helper function for xfer check

Currently, there are the same code for xfer complete check processing.
So, I add helper function pch_i2c_wait_for_check_xfer.

Reported-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-eg20t.c