From 4189318f6b673f47e432556a9a682aa0c6833397 Mon Sep 17 00:00:00 2001 From: Alain Volmat Date: Fri, 14 Jan 2022 12:21:50 +0100 Subject: [PATCH] spi: stm32: remove inexistant variables in struct stm32_spi_cfg comment Variables 'can_dma' and 'has_startbit' are described within the struct stm32_spi_cfg comment but have never existed in this structure so remove them. Signed-off-by: Alain Volmat Change-Id: I8646dcec332346afb563a9a88ae24ee5fe99e87c Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/235711 Reviewed-by: CITOOLS Reviewed-by: Amelie DELAUNAY Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/260232 Tested-by: Eric FOURMONT Reviewed-by: Eric FOURMONT --- drivers/spi/spi-stm32.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index 2b3a719f025e..c431b5b5aaae 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -240,7 +240,6 @@ struct stm32_spi; * time between frames (if driver has this functionality) * @set_number_of_data: optional routine to configure registers to desired * number of data (if driver has this functionality) - * @can_dma: routine to determine if the transfer is eligible for DMA use * @transfer_one_dma_start: routine to start transfer a single spi_transfer * using DMA * @dma_rx_cb: routine to call after DMA RX channel operation is complete @@ -251,7 +250,6 @@ struct stm32_spi; * @baud_rate_div_min: minimum baud rate divisor * @baud_rate_div_max: maximum baud rate divisor * @has_fifo: boolean to know if fifo is used for driver - * @has_startbit: boolean to know if start bit is used to start transfer * @set_slave_udr: routine to configure registers to desired slave underrun * behavior (if driver has this functionality) */