diff mbox series

[1/2] spi: spi-mem: Fix spi_mem_dirmap_destroy() kerneldoc

Message ID 20190119145757.1735-1-bbrezillon@kernel.org (mailing list archive)
State Accepted
Commit 5c0c4ec9ba61a98ecb79036afc013bba8d5b85e3
Headers show
Series [1/2] spi: spi-mem: Fix spi_mem_dirmap_destroy() kerneldoc | expand

Commit Message

Boris Brezillon Jan. 19, 2019, 2:57 p.m. UTC
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>
---
 drivers/spi/spi-mem.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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().