]> git.sur5r.net Git - u-boot/commit
i2c: mxs: Use i2c_set_bus_speed() in i2c_init()
authorMarek Vasut <marex@denx.de>
Mon, 12 Nov 2012 14:34:30 +0000 (14:34 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:30 +0000 (13:17 -0700)
commita157e0d5f6aa0b86bd7b6ae09d11b12a4a736d97
tree7f58ba05a191e7c9ae318f754562345b50540f16
parenta06f590f7fce2f484d3bc0bff48a7aa90b70f13d
i2c: mxs: Use i2c_set_bus_speed() in i2c_init()

Use i2c_set_bus_speed() in i2c_init() within the mxs i2c driver
to avoid duplication of code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
drivers/i2c/mxs_i2c.c