-
由 Andy Shevchenko 提交于
For now empty ID table is not allowed with ACPI and prevents driver to be probed. Add a check to allow empty ID table. This introduces a helper i2c_acpi_match_device(). Note, we rename some static function in i2c-core-acpi.c to distinguish with public API. Fixes: da10c06a ("i2c: Make I2C ID tables non-mandatory for DT'ed devices") Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: NRajmohan Mani <rajmohan.mani@intel.com> Acked-by: NMika Westerberg <mika.westerberg@linux.intel.com> [wsa: needed to get some drivers probed again] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
c64ffff7