Skip to content

Commit 1f241ad

Browse files
Sergei Shtylyovambarus
authored andcommitted
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: b35b9a1 ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 80cb801 commit 1f241ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/mtd/spi-nor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ struct spi_nor_flash_parameter;
331331
* @mtd: an mtd_info structure
332332
* @lock: the lock for the read/write/erase/lock/unlock operations
333333
* @dev: pointer to an SPI device or an SPI NOR controller device
334-
* @spimem: point to the spi mem device
334+
* @spimem: pointer to the SPI memory device
335335
* @bouncebuf: bounce buffer used when the buffer passed by the MTD
336336
* layer is not DMA-able
337337
* @bouncebuf_size: size of the bounce buffer

0 commit comments

Comments
 (0)