diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-04-02 21:01:32 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-08 14:10:39 +0700 |
commit | 45beec3519983cb11768cd3ee350f44975bf4cea (patch) | |
tree | 8478c95e78c9a66983d3802c68ccd9582bf51373 /drivers/spi/spi-gpio.c | |
parent | 8b797490b4db09492acda4b4a4a4355d2311a614 (diff) | |
download | lwn-45beec3519983cb11768cd3ee350f44975bf4cea.tar.gz lwn-45beec3519983cb11768cd3ee350f44975bf4cea.zip |
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>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions