diff options
author | Alain Volmat <alain.volmat@foss.st.com> | 2022-01-19 10:32:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-19 16:47:42 +0000 |
commit | 3cefddb72f80dc8d49ce605628ceb6525cfd64da (patch) | |
tree | 59bd22f32c83f682bb5f65cd91a38cb9c768cc06 /drivers/spi | |
parent | e4d63473d3110afd170e6e0e48494d3789d26136 (diff) | |
download | linux-3cefddb72f80dc8d49ce605628ceb6525cfd64da.tar.gz linux-3cefddb72f80dc8d49ce605628ceb6525cfd64da.tar.bz2 linux-3cefddb72f80dc8d49ce605628ceb6525cfd64da.zip |
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-stm32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index 9bd3fd1652f7..b5ef2470cefe 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -221,7 +221,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 @@ -232,7 +231,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 */ struct stm32_spi_cfg { const struct stm32_spi_regspec *regs; |