ARM: 6622/1: fix dma_unmap_sg() documentation
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 12 Jan 2011 17:50:37 +0000 (18:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 12 Jan 2011 19:42:13 +0000 (19:42 +0000)
The kerneldoc for this function is at odds with the DMA-API
document, which holds, so fix it.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dma-mapping.c

index 6b48e0a..4771dba 100644 (file)
@@ -577,7 +577,7 @@ EXPORT_SYMBOL(dma_map_sg);
  * dma_unmap_sg - unmap a set of SG buffers mapped by dma_map_sg
  * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices
  * @sg: list of buffers
- * @nents: number of buffers to unmap (returned from dma_map_sg)
+ * @nents: number of buffers to unmap (same as was passed to dma_map_sg)
  * @dir: DMA transfer direction (same as was passed to dma_map_sg)
  *
  * Unmap a set of streaming mode DMA translations.  Again, CPU access