Skip to content

Commit d207b0b

Browse files
Sergei Shtylyovambarus
authored andcommitted
mtd: spi-nor: core: fix kernel-doc typo for spi_nor_manufacturer_init_params()
When spi_nor_manufacturer_init_params() was added, the kernel-doc for it contained a typo: 'struct spi-nor' instead of 'struct spi_nor' -- fix it. Fixes: ce0b6f3 ("mtd: spi-nor: Add default_init() hook to tweak flash parameters") Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 1f241ad commit d207b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/spi-nor/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,7 @@ static int spi_nor_setup(struct spi_nor *nor,
26752675
/**
26762676
* spi_nor_manufacturer_init_params() - Initialize the flash's parameters and
26772677
* settings based on MFR register and ->default_init() hook.
2678-
* @nor: pointer to a 'struct spi-nor'.
2678+
* @nor: pointer to a 'struct spi_nor'.
26792679
*/
26802680
static void spi_nor_manufacturer_init_params(struct spi_nor *nor)
26812681
{

0 commit comments

Comments
 (0)