aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/spi-nor.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2020-04-03 23:50:57 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2020-04-28 09:55:50 +0300
commit1f241ad2a093b889122bd6bfdce57551d21bba5b (patch)
tree3b4bd00cfbdfa51ae48be1803db2b18485321a28 /include/linux/mtd/spi-nor.h
parentmtd: spi-nor: fix kernel-doc for spi_nor::info (diff)
downloadlinux-dev-1f241ad2a093b889122bd6bfdce57551d21bba5b.tar.xz
linux-dev-1f241ad2a093b889122bd6bfdce57551d21bba5b.zip
mtd: spi-nor: fix kernel-doc for spi_nor::spimem
When adding the 'spimem' field to 'struct spi_nor', a grammar mistake ("point" instead of "pointer") was made -- fix it and convert the SPI acronym to uppercase and fully spell out "memory", while at it... Fixes: b35b9a10362 ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'include/linux/mtd/spi-nor.h')
-rw-r--r--include/linux/mtd/spi-nor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index 3333103c519b..bebff2729c18 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -331,7 +331,7 @@ struct spi_nor_flash_parameter;
* @mtd: an mtd_info structure
* @lock: the lock for the read/write/erase/lock/unlock operations
* @dev: pointer to an SPI device or an SPI NOR controller device
- * @spimem: point to the spi mem device
+ * @spimem: pointer to the SPI memory device
* @bouncebuf: bounce buffer used when the buffer passed by the MTD
* layer is not DMA-able
* @bouncebuf_size: size of the bounce buffer