]> git.dujemihanovic.xyz Git - u-boot.git/commit
mxc_i2c: create i2c_init_transfer
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Jul 2012 08:18:06 +0000 (08:18 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:42:58 +0000 (07:42 +0200)
commitb230ddc267be2b9166421869549882d15b92e2ff
tree26324175039988766e605e42375679931b451fdc
parentea572d853eb03c6ac2021c21aae60891b5f92655
mxc_i2c: create i2c_init_transfer

Initial code of i2c_read and i2c_write
is identical, move to subroutine.

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