diff options
author | Andy Shevchenko <[email protected]> | 2021-11-19 19:37:17 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-22 15:48:24 +0000 |
commit | 3f07657506df363709a37f99db04e9e0d0b1bce7 (patch) | |
tree | 1b4d48d3a08546af459b01290e2ed6a1a1b8b54b /tools/perf/scripts/python/mem-phys-addr.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions