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

drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments

The function we are wrapping is named dma_alloc_noncoherent, and
not dma_alloc_non_coherent.

Fixes: 9ac7849e35f70 ("devres: device resource management")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Florian Fainelli and committed by
Greg Kroah-Hartman
cd74da95 0e0d3d2c

+2 -2
+2 -2
drivers/base/dma-mapping.c
··· 108 108 EXPORT_SYMBOL(dmam_free_coherent); 109 109 110 110 /** 111 - * dmam_alloc_non_coherent - Managed dma_alloc_non_coherent() 111 + * dmam_alloc_non_coherent - Managed dma_alloc_noncoherent() 112 112 * @dev: Device to allocate non_coherent memory for 113 113 * @size: Size of allocation 114 114 * @dma_handle: Out argument for allocated DMA handle 115 115 * @gfp: Allocation flags 116 116 * 117 - * Managed dma_alloc_non_coherent(). Memory allocated using this 117 + * Managed dma_alloc_noncoherent(). Memory allocated using this 118 118 * function will be automatically released on driver detach. 119 119 * 120 120 * RETURNS: