Commit 9d8371e2 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Mark Brown

spi-mem: fix kernel-doc for spi_mem_dirmap_{read|write}()

The function names in the kernel-doc comments were mistyped, with a word
"dirmap" being repeated twice, so fix them.

Fixes: aa167f3f ("spi: spi-mem: Add a new API to support direct mapping")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9b186e9a
...@@ -622,7 +622,7 @@ void devm_spi_mem_dirmap_destroy(struct device *dev, ...@@ -622,7 +622,7 @@ void devm_spi_mem_dirmap_destroy(struct device *dev,
EXPORT_SYMBOL_GPL(devm_spi_mem_dirmap_destroy); EXPORT_SYMBOL_GPL(devm_spi_mem_dirmap_destroy);
/** /**
* spi_mem_dirmap_dirmap_read() - Read data through a direct mapping * spi_mem_dirmap_read() - Read data through a direct mapping
* @desc: direct mapping descriptor * @desc: direct mapping descriptor
* @offs: offset to start reading from. Note that this is not an absolute * @offs: offset to start reading from. Note that this is not an absolute
* offset, but the offset within the direct mapping which already has * offset, but the offset within the direct mapping which already has
...@@ -668,7 +668,7 @@ ssize_t spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc, ...@@ -668,7 +668,7 @@ ssize_t spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc,
EXPORT_SYMBOL_GPL(spi_mem_dirmap_read); EXPORT_SYMBOL_GPL(spi_mem_dirmap_read);
/** /**
* spi_mem_dirmap_dirmap_write() - Write data through a direct mapping * spi_mem_dirmap_write() - Write data through a direct mapping
* @desc: direct mapping descriptor * @desc: direct mapping descriptor
* @offs: offset to start writing from. Note that this is not an absolute * @offs: offset to start writing from. Note that this is not an absolute
* offset, but the offset within the direct mapping which already has * offset, but the offset within the direct mapping which already has
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment