i2c: omap: decrease indentation level on data handling
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:57:57 +0000 (16:27 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:01:59 +0000 (15:01 +0200)
commit2049b5bcdd2172424c1ffc9b87d8f40020e9ebd6
treeb385e53a23a5757941af39f73ba31db5de33367e
parentbaf3d7b7210c705bf8ca7afb03cd7f0b61d27058
i2c: omap: decrease indentation level on data handling

The patch intends to decrease the indentation level on the
data handling
by using the fact that else of if (dev->buf_len) is same as
if (!dev->buf_len)

if (dev->buf_len) {
aaa;
} else {
bbb;
break;
}

to

if (!dev->buf_len) {
        bbb;
        break;
}
aaa;

Hence no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-by : Santosh Shilimkar <santosh.shilimkar@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