i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()
authorStefan Roese <sr@denx.de>
Thu, 21 Apr 2016 06:19:39 +0000 (08:19 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 25 Apr 2016 05:31:28 +0000 (07:31 +0200)
commit11b544ab419971bb829135743dab3397fb43db21
tree658b536dc2a04947fa3734a3e841db7dfd8cf1d4
parent1c8b089b45cddeef6fb76d9abb8d48601ec5e0a1
i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()

Integrating set_speed() into dw_i2c_set_bus_speed() will make the
conversion to DM easier for this driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.c