diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-19 19:37:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-22 15:48:24 +0000 |
commit | 3f07657506df363709a37f99db04e9e0d0b1bce7 (patch) | |
tree | 1b4d48d3a08546af459b01290e2ed6a1a1b8b54b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d94758b344e3b6f16d31cb5b51b93e3e5a4c3567 (diff) |
spi: deduplicate spi_match_id() in __spi_register_driver()
The same logic is used in spi_match_id() and in the __spi_register_driver().
By switching the former from taking struct spi_device * to const char * as
the second parameter we may deduplicate the code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211119173718.52938-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions