spi: stm32: use normal conditional statements instead of ternary operator
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 27 Jun 2017 15:45:17 +0000 (17:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jun 2017 19:00:53 +0000 (20:00 +0100)
commit128ebb89c50e5452704de82d78845baeb3333c24
tree2a4d110a925eb697a8849bdcdc27a6df4061aed4
parent042c1c60df7b85488de28574e7917b7977be3b00
spi: stm32: use normal conditional statements instead of ternary operator

This patch replace ternary operator use by normal condition statements
to ease code reading.
It also removes redundant !!.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c