diff options
| author | Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> | 2026-08-24 15:43:58 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-31 18:51:23 +0100 |
| commit | ed07cdb2b386d53d1ba4abbb4154bcec7bd9488a (patch) | |
| tree | 6ff4dd3d515b3af1a565c8cbba4b5016091e6c51 /scripts/Makefile.thinlto | |
| parent | 7fe2098d612b35fc0aaa7a550b0adca326fedcee (diff) | |
| download | linux-next-ed07cdb2b386d53d1ba4abbb4154bcec7bd9488a.tar.gz linux-next-ed07cdb2b386d53d1ba4abbb4154bcec7bd9488a.zip | |
spi: qcom-geni: rename setup_fifo_params() to setup_spi_params() and make it void
The function always returned 0 and had no error paths, so change its
return type to void. Drop the now-dead ret variable and error check
in spi_geni_prepare_message().
setup_fifo_params() is called for both GENI_SE_FIFO and GENI_SE_DMA
modes, so the "fifo" in the name is misleading. Rename it to
setup_spi_params() to better reflect its purpose of configuring SPI
mode parameters (CS, CPHA, CPOL, loopback, LSB-first).
No functional change.
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Link: https://patch.msgid.link/20260824-spi-qcom-geni-cleanup-setup-fifo-params-v1-1-bdf98ae62953@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
