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: ce0b6f3f3c43 ("mtd: spi-nor: Add default_init() hook to tweak flash parameters")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
This commit is contained in:
Sergei Shtylyov 2020-04-21 22:38:42 +03:00 committed by Tudor Ambarus
parent 1f241ad2a0
commit d207b0b355
No known key found for this signature in database
GPG Key ID: 4B554F47A58D14E9

View File

@ -2675,7 +2675,7 @@ static int spi_nor_setup(struct spi_nor *nor,
/** /**
* spi_nor_manufacturer_init_params() - Initialize the flash's parameters and * spi_nor_manufacturer_init_params() - Initialize the flash's parameters and
* settings based on MFR register and ->default_init() hook. * settings based on MFR register and ->default_init() hook.
* @nor: pointer to a 'struct spi-nor'. * @nor: pointer to a 'struct spi_nor'.
*/ */
static void spi_nor_manufacturer_init_params(struct spi_nor *nor) static void spi_nor_manufacturer_init_params(struct spi_nor *nor)
{ {