Skip to content

Commit ba0aa31

Browse files
Sergei Shtylyovambarus
authored andcommitted
mtd: spi-nor: fix kernel-doc for spi_nor::mtd
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: 1976367 ("mtd: spi-nor: embed struct mtd_info within struct spi_nor") Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 40a571b commit ba0aa31

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
@@ -328,7 +328,7 @@ struct spi_nor_flash_parameter;
328328

329329
/**
330330
* struct spi_nor - Structure for defining the SPI NOR layer
331-
* @mtd: pointer to an mtd_info structure
331+
* @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
334334
* @spimem: point to the spi mem device

0 commit comments

Comments
 (0)