diff options
author | 2019-04-06 21:33:29 +0300 | |
---|---|---|
committer | 2019-04-08 14:06:51 +0700 | |
commit | 9d8371e287b9bd8f5b28386e6d7e8e9514a40aad (patch) | |
tree | bdacb6206906cf990af1bcb4c464a3e24a470e2b /drivers/spi/spi-mem.c | |
parent | spi: bcm2835aux: Fix build error without CONFIG_DEBUG_FS (diff) | |
download | linux-9d8371e287b9bd8f5b28386e6d7e8e9514a40aad.tar.gz linux-9d8371e287b9bd8f5b28386e6d7e8e9514a40aad.tar.bz2 linux-9d8371e287b9bd8f5b28386e6d7e8e9514a40aad.zip |
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: aa167f3fed0c ("spi: spi-mem: Add a new API to support direct mapping")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mem.c')
-rw-r--r-- | drivers/spi/spi-mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c index 3397fd10cf8d..9f0fa9f3116d 100644 --- a/drivers/spi/spi-mem.c +++ b/drivers/spi/spi-mem.c @@ -622,7 +622,7 @@ void devm_spi_mem_dirmap_destroy(struct device *dev, 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 * @offs: offset to start reading from. Note that this is not an absolute * 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, 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 * @offs: offset to start writing from. Note that this is not an absolute * offset, but the offset within the direct mapping which already has |