i2c: omap: re-factor receive/transmit data loop
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:58:02 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:02:36 +0000 (15:02 +0200)
re-factor the common parts to a separate function,
so that code is easier to read and understand.

No functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

No differences found