Skip to content

Commit f4363e6

Browse files
Sergei Shtylyovambarus
authored andcommitted
mtd: spi-nor: core: fix kernel-doc typo for spi_nor_[{info|sfdp}_]init_params()
When spi_nor_info_init_params(), spi_nor_sfdp_init_params(), and spi_nor_init_params() were added, the kernel-doc for them contained a typo: 'struct spi-nor' instead of 'struct spi_nor' -- fix them. Fixes: 1c1d8d9 ("mtd: spi-nor: Split spi_nor_init_params()") Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]>
1 parent d207b0b commit f4363e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/mtd/spi-nor/core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,7 +2690,7 @@ static void spi_nor_manufacturer_init_params(struct spi_nor *nor)
26902690
/**
26912691
* spi_nor_sfdp_init_params() - Initialize the flash's parameters and settings
26922692
* based on JESD216 SFDP standard.
2693-
* @nor: pointer to a 'struct spi-nor'.
2693+
* @nor: pointer to a 'struct spi_nor'.
26942694
*
26952695
* The method has a roll-back mechanism: in case the SFDP parsing fails, the
26962696
* legacy flash parameters and settings will be restored.
@@ -2712,7 +2712,7 @@ static void spi_nor_sfdp_init_params(struct spi_nor *nor)
27122712
/**
27132713
* spi_nor_info_init_params() - Initialize the flash's parameters and settings
27142714
* based on nor->info data.
2715-
* @nor: pointer to a 'struct spi-nor'.
2715+
* @nor: pointer to a 'struct spi_nor'.
27162716
*/
27172717
static void spi_nor_info_init_params(struct spi_nor *nor)
27182718
{
@@ -2841,7 +2841,7 @@ static void spi_nor_late_init_params(struct spi_nor *nor)
28412841

28422842
/**
28432843
* spi_nor_init_params() - Initialize the flash's parameters and settings.
2844-
* @nor: pointer to a 'struct spi-nor'.
2844+
* @nor: pointer to a 'struct spi_nor'.
28452845
*
28462846
* The flash parameters and settings are initialized based on a sequence of
28472847
* calls that are ordered by priority:

0 commit comments

Comments
 (0)