Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: stm32-qspi: Remove stm32_qspi_wait_cmd() unused parameter

struct spi_mem_op *op parameter is no more used, remove it.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220602092540.369604-3-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Patrice Chotard and committed by
Mark Brown
75c28a43 5945ff90

+2 -3
+2 -3
drivers/spi/spi-stm32-qspi.c
··· 299 299 STM32_BUSY_TIMEOUT_US); 300 300 } 301 301 302 - static int stm32_qspi_wait_cmd(struct stm32_qspi *qspi, 303 - const struct spi_mem_op *op) 302 + static int stm32_qspi_wait_cmd(struct stm32_qspi *qspi) 304 303 { 305 304 u32 cr, sr; 306 305 int err = 0; ··· 419 420 goto abort; 420 421 421 422 /* wait end of tx in indirect mode */ 422 - err = stm32_qspi_wait_cmd(qspi, op); 423 + err = stm32_qspi_wait_cmd(qspi); 423 424 if (err) 424 425 goto abort; 425 426