spi: rzv2m-csi: Replace unnecessary ternary operators
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Sat, 15 Jul 2023 01:04:02 +0000 (02:04 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2023 11:41:44 +0000 (12:41 +0100)
commit9f5ac599801c0f7c0969fa94c638265ed988b9bc
treeb9e4e5aea6c220363db7c668b4587df365b989f2
parent2ed2699f58891c72fcd462129345d09424f986c5
spi: rzv2m-csi: Replace unnecessary ternary operators

The ternary operators used to initialize tx_completed and rx_completed
are not necessary, replace them with a better implementation.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230715010407.1751715-6-fabrizio.castro.jz@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rzv2m-csi.c