Skip to content

Commit c1939c2

Browse files
Uwe Kleine-Königvinodkoul
authored andcommitted
dmaengine: xilinx: xilinx_dma: Fix kernel doc about xilinx_dma_remove()
Since commit cc99582 ("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>
1 parent 8bf9145 commit c1939c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/dma/xilinx/xilinx_dma.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3242,8 +3242,6 @@ static int xilinx_dma_probe(struct platform_device *pdev)
32423242
/**
32433243
* xilinx_dma_remove - Driver remove function
32443244
* @pdev: Pointer to the platform_device structure
3245-
*
3246-
* Return: Always '0'
32473245
*/
32483246
static void xilinx_dma_remove(struct platform_device *pdev)
32493247
{

0 commit comments

Comments
 (0)