diff options
author | 2023-07-14 12:17:45 +0300 | |
---|---|---|
committer | 2023-07-14 14:44:36 +0100 | |
commit | 36124dea164cf684869e856b2ada23e8adab5f03 (patch) | |
tree | 729a754aefb8b840b150310bd4c0ac0da0e10e37 /drivers/spi/spi-qcom-qspi.c | |
parent | spi: spi-cadence: Delete unmatched comments (diff) | |
download | linux-rng-36124dea164cf684869e856b2ada23e8adab5f03.tar.xz linux-rng-36124dea164cf684869e856b2ada23e8adab5f03.zip |
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 'drivers/spi/spi-qcom-qspi.c')
0 files changed, 0 insertions, 0 deletions