commit | 45beec3519983cb11768cd3ee350f44975bf4cea | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <andrew.smirnov@gmail.com> | Tue Apr 02 21:01:32 2019 -0700 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 08 14:10:39 2019 +0700 |
tree | 8478c95e78c9a66983d3802c68ccd9582bf51373 | |
parent | 8b797490b4db09492acda4b4a4a4355d2311a614 [diff] |
spi: bitbang: Introduce spi_bitbang_init() Move all of the code doing struct spi_bitbang initialization, so that it can be paired with devm_spi_register_master() in order to avoid having to call spi_bitbang_stop() explicitly. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Chris Healy <cphealy@gmail.com> Cc: linux-spi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>