mtd: spi-nor: fix kernel-doc for spi_nor::spimem
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 3 Apr 2020 20:50:57 +0000 (23:50 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 28 Apr 2020 06:55:50 +0000 (09:55 +0300)
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>
include/linux/mtd/spi-nor.h

index 3333103..bebff27 100644 (file)
@@ -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