spi: spi-mem: Fix spi_mem_dirmap_destroy() kerneldoc
authorBoris Brezillon <bbrezillon@kernel.org>
Sat, 19 Jan 2019 14:57:56 +0000 (15:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jan 2019 17:55:17 +0000 (17:55 +0000)
spi_mem_dirmap_destroy() takes a single argument, remove the @info entry
in the doc.

Fixes: aa167f3fed0c ("spi: spi-mem: Add a new API to support direct mapping")
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mem.c

index 5217a5628be27e3f4edd2ca96547a2e4e20c83f3..08ba43506e81a622171eadee5c8f6f4dfde3f9ad 100644 (file)
@@ -537,7 +537,6 @@ EXPORT_SYMBOL_GPL(spi_mem_dirmap_create);
 /**
  * spi_mem_dirmap_destroy() - Destroy a direct mapping descriptor
  * @desc: the direct mapping descriptor to destroy
- * @info: direct mapping information
  *
  * This function destroys a direct mapping descriptor previously created by
  * spi_mem_dirmap_create().