i2c: omap: switch over to do {} while loop
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:58:03 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:02:43 +0000 (15:02 +0200)
commit66b9298878742f08cb6e79b7c7d5632d782fd1e1
treeae5502438160e61f9b53fce131a3987773441ba1
parent3312d25e1abdc41be8a75a1b2c3ccaa39a14ed99
i2c: omap: switch over to do {} while loop

this will make sure that we execute at least once.
No functional changes otherwise.

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