summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGolla Nagendra <nagendra.golla@amd.com>2026-06-30 12:18:44 +0530
committerVinod Koul <vkoul@kernel.org>2026-07-02 21:11:50 +0530
commitf7e89cba18a1ca6462712ae459a88dd40537b693 (patch)
treef65ca62ff27f1d9c4ddce2f81aa0b10d4a996d48
parent516ba2d8b7aac4238f9fcbd58579c43c71b9b695 (diff)
downloadlinux-f7e89cba18a1ca6462712ae459a88dd40537b693.tar.gz
linux-f7e89cba18a1ca6462712ae459a88dd40537b693.zip
dmaengine: zynqmp_dma: fix kernel doc for zynqmp_dma_remove()
The zynqmp_dma_remove() function was converted from returning int to void, but the kernel doc comment was not updated to reflect this change. Remove the stale "Return: Always '0'" documentation that no longer applies to the void function. Fixes: b1c50ac25425 ("dmaengine: xilinx: zynqmp_dma: Convert to platform remove callback returning void") Signed-off-by: Golla Nagendra <nagendra.golla@amd.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://patch.msgid.link/20260630064844.705173-3-nagendra.golla@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/dma/xilinx/zynqmp_dma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c
index ca2dee0012c8..2b03584102ac 100644
--- a/drivers/dma/xilinx/zynqmp_dma.c
+++ b/drivers/dma/xilinx/zynqmp_dma.c
@@ -1159,8 +1159,6 @@ err_disable_pm:
/**
* zynqmp_dma_remove - Driver remove function
* @pdev: Pointer to the platform_device structure
- *
- * Return: Always '0'
*/
static void zynqmp_dma_remove(struct platform_device *pdev)
{