i2c: omap: Do not initialise the completion everytime
authorShubhrajyoti D <shubhrajyoti@ti.com>
Thu, 28 Jun 2012 15:11:29 +0000 (20:41 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 12 Jul 2012 12:18:26 +0000 (14:18 +0200)
commit0e33bbb25436949cc100d40edfbe0f96dfa25882
treedbe275daada581fc7ba67f7991aa8f388156a8af
parent5692d2a22ed9c1a1bc3030bd8188f335b1b0b58c
i2c: omap: Do not initialise the completion everytime

Use INIT_COMPLETION instead of init_completion in transfer.

Reviewed-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