Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Link: https://lore.kernel.org/r/20220706082605.114907-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Jiapeng Chong and committed by
Vinod Koul
4348d99e 01eafd4b

+2 -2
+2 -2
drivers/dma/altera-msgdma.c
··· 749 749 } 750 750 751 751 /** 752 - * msgdma_chan_remove - Channel remove function 752 + * msgdma_dev_remove() - Device remove function 753 753 * @mdev: Pointer to the Altera mSGDMA device structure 754 754 */ 755 755 static void msgdma_dev_remove(struct msgdma_device *mdev) ··· 918 918 } 919 919 920 920 /** 921 - * msgdma_dma_remove - Driver remove function 921 + * msgdma_remove() - Driver remove function 922 922 * @pdev: Pointer to the platform_device structure 923 923 * 924 924 * Return: Always '0'