summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Brezillon <bbrezillon@kernel.org>2019-01-19 15:57:56 +0100
committerMark Brown <broonie@kernel.org>2019-01-21 17:55:17 +0000
commit5c0c4ec9ba61a98ecb79036afc013bba8d5b85e3 (patch)
tree49308a6915b6ec6d428b749710f6cbad896957cb
parentd1d6bd785da0c0c08523ee4f1a2d6a0875aa6f41 (diff)
downloadlinux-stable-5c0c4ec9ba61a98ecb79036afc013bba8d5b85e3.tar.gz
linux-stable-5c0c4ec9ba61a98ecb79036afc013bba8d5b85e3.tar.bz2
linux-stable-5c0c4ec9ba61a98ecb79036afc013bba8d5b85e3.zip
spi: spi-mem: Fix spi_mem_dirmap_destroy() kerneldoc
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>
-rw-r--r--drivers/spi/spi-mem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c
index 5217a5628be2..08ba43506e81 100644
--- a/drivers/spi/spi-mem.c
+++ b/drivers/spi/spi-mem.c
@@ -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().