i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"
authorKen Xue <Ken.Xue@amd.com>
Fri, 23 Oct 2015 05:28:47 +0000 (13:28 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Oct 2015 19:55:44 +0000 (21:55 +0200)
commit3eddad96c4395280d5f6f13c958b276c11d3f575
tree77f491d2c9c7b5d2920f67ad8254a35441714565
parentfa721baed6ba9ec5cdb3109d71f31e0974c8d3f1
i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"

The patch reverts commit a445900c9060 (i2c: designware: Add support for
AMD I2C controller). It never worked anyhow because it did not register
a proper clkdev.

Since kernel 4.1 starts to support APD, there is no need to get freq
from id->driver_data for AMD0010. clkdev is supposed to be already
registered in APD.

So, revert old design and make AMD0010 looks like other ones.

Signed-off-by: Ken Xue <Ken.Xue@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c