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)
commit3312d25e1abdc41be8a75a1b2c3ccaa39a14ed99
tree77f33224780f8dda593ea5b5340bb2793370f15d
parent4151e74177b68c40079d8fe98f2fda4b9792a998
i2c: omap: re-factor receive/transmit data loop

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>
drivers/i2c/busses/i2c-omap.c