spi: axi-spi-engine: return void from spi_engine_compile_message()
authorDavid Lechner <dlechner@baylibre.com>
Mon, 4 Dec 2023 17:33:27 +0000 (11:33 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2023 14:19:29 +0000 (14:19 +0000)
commit2e0d75f8dd9e31b3fb175f780494dd7dd988ceae
tree8cca8ec21ea2f591434c18c720c23c76422dbc6a
parent8e6a43961f24cf841d3c0d199521d0b284d948b9
spi: axi-spi-engine: return void from spi_engine_compile_message()

In the AXI SPI Engine driver, the spi_engine_compile_message() function
does not return any error and none of the callers check the return
value. So we can change the return type to void and drop the return 0.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20231204-axi-spi-engine-series-2-v1-1-063672323fce@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axi-spi-engine.c