i2c: designware: Convert to use struct i2c_timings
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Jul 2018 14:39:26 +0000 (17:39 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 8 Aug 2018 20:28:52 +0000 (22:28 +0200)
commite3ea52b578be221d9d5564d17005d01a8d390b92
tree57682048fbd59d960bee350f362c7e39f4542baa
parent4717be73c2843a3d6d8546872177a19358f6b7b5
i2c: designware: Convert to use struct i2c_timings

Instead of using custom variables and parser, convert the driver to use
the ones provided by I2C core.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-master.c
drivers/i2c/busses/i2c-designware-platdrv.c