diff mbox series

spi: ep93xx: update kerneldoc comments for ep93xx_spi

Message ID 20240912132126.2991851-1-arnd@kernel.org (mailing list archive)
State Accepted
Commit ba091a81f8237a6db1ccff37c2485791788107dd
Headers show
Series spi: ep93xx: update kerneldoc comments for ep93xx_spi | expand

Commit Message

Arnd Bergmann Sept. 12, 2024, 1:21 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Two fields got removed but are still documented:

drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_rx_data' description in 'ep93xx_spi'
drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_tx_data' description in 'ep93xx_spi'

Fixes: 3cfe73256905 ("spi: ep93xx: add DT support for Cirrus EP93xx")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I've added this fixup in the ep93xx/dt-conversion branch

 drivers/spi/spi-ep93xx.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Alexander Sverdlin Sept. 12, 2024, 1:45 p.m. UTC | #1
On Thu, 2024-09-12 at 13:21 +0000, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Two fields got removed but are still documented:
> 
> drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_rx_data' description in 'ep93xx_spi'
> drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_tx_data' description in 'ep93xx_spi'
> 
> Fixes: 3cfe73256905 ("spi: ep93xx: add DT support for Cirrus EP93xx")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

> ---
> I've added this fixup in the ep93xx/dt-conversion branch
> 
>  drivers/spi/spi-ep93xx.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
> index ffbe0d522bce..dc6bdc74643d 100644
> --- a/drivers/spi/spi-ep93xx.c
> +++ b/drivers/spi/spi-ep93xx.c
> @@ -76,8 +76,6 @@
>   *              frame decreases this level and sending one frame increases it.
>   * @dma_rx: RX DMA channel
>   * @dma_tx: TX DMA channel
> - * @dma_rx_data: RX parameters passed to the DMA engine
> - * @dma_tx_data: TX parameters passed to the DMA engine
>   * @rx_sgt: sg table for RX transfers
>   * @tx_sgt: sg table for TX transfers
>   * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by
diff mbox series

Patch

diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
index ffbe0d522bce..dc6bdc74643d 100644
--- a/drivers/spi/spi-ep93xx.c
+++ b/drivers/spi/spi-ep93xx.c
@@ -76,8 +76,6 @@ 
  *              frame decreases this level and sending one frame increases it.
  * @dma_rx: RX DMA channel
  * @dma_tx: TX DMA channel
- * @dma_rx_data: RX parameters passed to the DMA engine
- * @dma_tx_data: TX parameters passed to the DMA engine
  * @rx_sgt: sg table for RX transfers
  * @tx_sgt: sg table for TX transfers
  * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by