i2c: designware_i2c: Prepare for DM driver conversion
authorStefan Roese <sr@denx.de>
Thu, 21 Apr 2016 06:19:40 +0000 (08:19 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 25 Apr 2016 05:31:38 +0000 (07:31 +0200)
commit3f4358da8d42e407a3fb583b7b3ea7033090e0cd
treeb33cedad429f5bca29d548ee58cb0fb81e44341f
parent11b544ab419971bb829135743dab3397fb43db21
i2c: designware_i2c: Prepare for DM driver conversion

This patch prepares the designware I2C driver for the DM conversion.
This is mainly done by removing struct i2c_adapter from the functions
that shall be used by the DM driver version as well.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: 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