Skip to content

Commit 4348d99

Browse files
Jiapeng Chongvinodkoul
authored andcommitted
dmaengine: altera-msgdma: Fixed some inconsistent function name descriptions
Inconsistent function names describing msgdma_chan_remove() and msgdma_dma_remove are modified to msgdma_dev_remove() and msgdma_remove(). Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/dma/altera-msgdma.c:927: warning: expecting prototype for msgdma_dma_remove(). Prototype was for msgdma_remove() instead. drivers/dma/altera-msgdma.c:758: warning: expecting prototype for msgdma_chan_remove(). Prototype was for msgdma_dev_remove() instead. Signed-off-by: Jiapeng Chong <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 01eafd4 commit 4348d99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/dma/altera-msgdma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ static irqreturn_t msgdma_irq_handler(int irq, void *data)
749749
}
750750

751751
/**
752-
* msgdma_chan_remove - Channel remove function
752+
* msgdma_dev_remove() - Device remove function
753753
* @mdev: Pointer to the Altera mSGDMA device structure
754754
*/
755755
static void msgdma_dev_remove(struct msgdma_device *mdev)
@@ -918,7 +918,7 @@ static int msgdma_probe(struct platform_device *pdev)
918918
}
919919

920920
/**
921-
* msgdma_dma_remove - Driver remove function
921+
* msgdma_remove() - Driver remove function
922922
* @pdev: Pointer to the platform_device structure
923923
*
924924
* Return: Always '0'

0 commit comments

Comments
 (0)