mtd: spi-nor: core: Fix spi_nor_flash_parameter otp description
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 29 Oct 2021 17:26:09 +0000 (20:26 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 17 Nov 2021 12:36:01 +0000 (14:36 +0200)
Update the description of the otp member of the
struct spi_nor_flash_parameter.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20211029172633.886453-2-tudor.ambarus@microchip.com
drivers/mtd/spi-nor/core.h

index 3348e1d..da3fd36 100644 (file)
@@ -250,7 +250,7 @@ struct spi_nor_otp {
  *                      higher index in the array, the higher priority.
  * @erase_map:         the erase map parsed from the SFDP Sector Map Parameter
  *                      Table.
- * @otp_info:          describes the OTP regions.
+ * @otp:               SPI NOR OTP info.
  * @octal_dtr_enable:  enables SPI NOR octal DTR mode.
  * @quad_enable:       enables SPI NOR quad mode.
  * @set_4byte_addr_mode: puts the SPI NOR in 4 byte addressing mode.
@@ -262,7 +262,6 @@ struct spi_nor_otp {
  *                      e.g. different opcodes, specific address calculation,
  *                      page size, etc.
  * @locking_ops:       SPI NOR locking methods.
- * @otp:               SPI NOR OTP methods.
  */
 struct spi_nor_flash_parameter {
        u64                             size;