diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2026-10-09 12:16:36 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-15 22:37:15 +0100 |
| commit | b0f0c761ed3fa10754dc9295db85374a173123b7 (patch) | |
| tree | 9326f59d8a86885dc2f2091d4e4480c3844a5db8 /scripts/Makefile.thinlto | |
| parent | 4eac392e48fc0ddc6d5ac10d57aac7245c17d0d9 (diff) | |
| download | linux-next-b0f0c761ed3fa10754dc9295db85374a173123b7.tar.gz linux-next-b0f0c761ed3fa10754dc9295db85374a173123b7.zip | |
spi: spi-fsl-lpspi: directly return ret in fsl_lpspi_transfer_one()
Both fsl_lpspi_dma_transfer() and fsl_lpspi_pio_transfer() only return
negative error values in case of error or 0 in case of success.
Directly return ret, there is no need to check for positive error values
and return them as 0.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20261009-spi-fsl-lpspi-more-cleanups-v1-2-2d4549d5205e@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
