diff options
| author | Andy Shevchenko <[email protected]> | 2017-07-17 14:13:28 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2017-07-31 13:50:33 +0000 |
| commit | c64ffff7a9d1eee6624d3eaab36968fe6df31a9f (patch) | |
| tree | af1c1ce0e4a1488ba9ab00ad80ec3b723800913b /tools/perf/scripts/python/syscall-counts.py | |
| parent | Linux 4.13-rc3 (diff) | |
| download | kernel-c64ffff7a9d1eee6624d3eaab36968fe6df31a9f.tar.gz kernel-c64ffff7a9d1eee6624d3eaab36968fe6df31a9f.zip | |
i2c: core: Allow empty id_table in ACPI case as well
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: da10c06a044b ("i2c: Make I2C ID tables non-mandatory for DT'ed devices")
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Rajmohan Mani <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
[wsa: needed to get some drivers probed again]
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
