Skip to content

Commit 3cefddb

Browse files
Alain Volmatbroonie
authored andcommitted
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 <alain.volmat@foss.st.com> Link: https://lore.kernel.org/r/20220119093245.624878-2-alain.volmat@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e4d6347 commit 3cefddb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/spi/spi-stm32.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ struct stm32_spi;
221221
* time between frames (if driver has this functionality)
222222
* @set_number_of_data: optional routine to configure registers to desired
223223
* number of data (if driver has this functionality)
224-
* @can_dma: routine to determine if the transfer is eligible for DMA use
225224
* @transfer_one_dma_start: routine to start transfer a single spi_transfer
226225
* using DMA
227226
* @dma_rx_cb: routine to call after DMA RX channel operation is complete
@@ -232,7 +231,6 @@ struct stm32_spi;
232231
* @baud_rate_div_min: minimum baud rate divisor
233232
* @baud_rate_div_max: maximum baud rate divisor
234233
* @has_fifo: boolean to know if fifo is used for driver
235-
* @has_startbit: boolean to know if start bit is used to start transfer
236234
*/
237235
struct stm32_spi_cfg {
238236
const struct stm32_spi_regspec *regs;

0 commit comments

Comments
 (0)