i2c: designware: use generic table matching
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 31 Aug 2018 15:11:08 +0000 (17:11 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 2 Sep 2018 21:51:15 +0000 (23:51 +0200)
commit1732c22abca8f4e2528a4927baf6ffb2e3be58b0
treef5d01380f751e8b9a4ac80dcfb7967f657ad5552
parent57361846b52bc686112da6ca5368d11210796804
i2c: designware: use generic table matching

Switch to device_get_match_data in probe to match the device specific data
instead of using the acpi specific function.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c