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>
This commit is contained in:
parent
5945ff9057
commit
75c28a43a4
@ -299,8 +299,7 @@ static int stm32_qspi_wait_nobusy(struct stm32_qspi *qspi)
|
||||
STM32_BUSY_TIMEOUT_US);
|
||||
}
|
||||
|
||||
static int stm32_qspi_wait_cmd(struct stm32_qspi *qspi,
|
||||
const struct spi_mem_op *op)
|
||||
static int stm32_qspi_wait_cmd(struct stm32_qspi *qspi)
|
||||
{
|
||||
u32 cr, sr;
|
||||
int err = 0;
|
||||
@ -420,7 +419,7 @@ static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op)
|
||||
goto abort;
|
||||
|
||||
/* wait end of tx in indirect mode */
|
||||
err = stm32_qspi_wait_cmd(qspi, op);
|
||||
err = stm32_qspi_wait_cmd(qspi);
|
||||
if (err)
|
||||
goto abort;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user