mxc_i2c: create tx_byte function
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Jul 2012 08:18:04 +0000 (08:18 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:41:51 +0000 (07:41 +0200)
commitcea60b0c6ce77a8dffd7177fca31fa7610aa6923
treebcbf022e607c1dcfbaaeb2e6cc37db75fbe20d5f
parent24cd738bc420630f5362e2845a9f8aa4076273e5
mxc_i2c: create tx_byte function

Use tx_byte function instead of having 3 copies
of the code.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/i2c/mxc_i2c.c