dmaengine: xilinx_dma: fix xilinx_dma_child_probe() return documentation
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Tue, 25 Oct 2022 07:42:16 +0000 (13:12 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 4 Nov 2022 14:24:15 +0000 (19:54 +0530)
Modify xilinx_dma_child_probe() return documentation to be inline
with implementation i.e. can also return failure value on error.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1666683737-7668-2-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c

index 8cd4e69dc7b4c24b334c450562c2a88925b0f452..3b8cfeccf2da94dcd4e33658b18d3c6f6c4d5a93 100644 (file)
@@ -2924,7 +2924,7 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev,
  * @xdev: Driver specific device structure
  * @node: Device node
  *
- * Return: 0 always.
+ * Return: '0' on success and failure value on error.
  */
 static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev,
                                    struct device_node *node)