Skip to content

Commit a92b744

Browse files
Radhey Shyam Pandeyvinodkoul
authored andcommitted
dmaengine: xilinx_dma: fix xilinx_dma_child_probe() return documentation
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent cccc46a commit a92b744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/xilinx/xilinx_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2924,7 +2924,7 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev,
29242924
* @xdev: Driver specific device structure
29252925
* @node: Device node
29262926
*
2927-
* Return: 0 always.
2927+
* Return: '0' on success and failure value on error.
29282928
*/
29292929
static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev,
29302930
struct device_node *node)

0 commit comments

Comments
 (0)