dmaengine: xilinx: xilinx_dma: Fix kernel doc about xilinx_dma_remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 14 Oct 2023 21:16:57 +0000 (23:16 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 16 Oct 2023 06:56:57 +0000 (12:26 +0530)
Since commit cc99582d46b4 ("dmaengine: xilinx: xilinx_dma: Convert to
platform remove callback returning void") xilinx_dma_remove() doesn't
return zero any more. As the function has no return value any more, just
drop the statement about the return value.

Reported-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231014211656.1512016-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c

index 0c363a1ed853a3744978f48d326bcb340121b1a2..e40696f6f8647de7f3d869be1684891725f903d7 100644 (file)
@@ -3242,8 +3242,6 @@ disable_clks:
 /**
  * xilinx_dma_remove - Driver remove function
  * @pdev: Pointer to the platform_device structure
- *
- * Return: Always '0'
  */
 static void xilinx_dma_remove(struct platform_device *pdev)
 {