diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-14 12:17:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-14 14:44:36 +0100 |
commit | 36124dea164cf684869e856b2ada23e8adab5f03 (patch) | |
tree | 729a754aefb8b840b150310bd4c0ac0da0e10e37 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3b38cabd5e12b8b54b9c9feab9ab0093b991f249 (diff) |
spi: Remove code duplication in spi_add_device*()
The commit 0c79378c0199 ("spi: add ancillary device support")
added a dozen of duplicating lines of code. We may move them
to the __spi_add_device(). Note, that the code may be called
under the mutex.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230714091748.89681-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions