spi: stm32: split transfer one setup function
authorCezary Gapinski <cezary.gapinski@gmail.com>
Mon, 24 Dec 2018 22:00:35 +0000 (23:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 18:25:09 +0000 (18:25 +0000)
commit9d5fce166c7a26ed9811f9b0ae914a079e62c0f8
tree1b846b74bf4b48fd5ea41edc321e5fabeedcdfa6
parenta9675337ad3e540cecb2411a7fc71fda133a3932
spi: stm32: split transfer one setup function

Split stm32_spi_transfer_one_setup function into smaller chunks
to be more generic for other stm32 SPI family drivers.

Signed-off-by: Cezary Gapinski <cezary.gapinski@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c