mtd: spi-nor: fix kernel-doc for spi_nor::mtd
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 3 Apr 2020 20:44:16 +0000 (23:44 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 28 Apr 2020 06:45:04 +0000 (09:45 +0300)
When embedding 'struct mtd_info' within 'struct spi_nor', the kernel-doc
comment was forgotten. Fix it by dropping the "pointer to" part from the
comment.

Fixes: 1976367173a4 ("mtd: spi-nor: embed struct mtd_info within struct spi_nor")
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 d3fcf7654040e078dfdf377a852aa00b75050703..20077881c955d162f48de618f85297effd76f07a 100644 (file)
@@ -328,7 +328,7 @@ struct spi_nor_flash_parameter;
 
 /**
  * struct spi_nor - Structure for defining the SPI NOR layer
- * @mtd:               pointer to an mtd_info structure
+ * @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