i2c-nomadik: break out single messsage transmission
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 May 2011 10:31:01 +0000 (12:31 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 24 May 2011 23:20:58 +0000 (00:20 +0100)
commit82a4413450376cbce0bb2b794fb880dbfda89299
treea3b252c4516e68331e708e5dc8fed0a33576c2eb
parent0511f643cbe6990daf4b53b1268b5c2ea28d1733
i2c-nomadik: break out single messsage transmission

Reduce code size in the message transfer function by factoring out
a single-message transfer function.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-nomadik.c