Commit a6e2cd4d authored by Michael Walle's avatar Michael Walle Committed by Vignesh Raghavendra
Browse files

mtd: spi-nor: otp: fix kerneldoc typos



Use the correct argument names in the kerneldoc.

Fixes: cad3193f ("mtd: spi-nor: implement OTP support for Winbond and similar flashes")
Reported-by: default avatarPratyush Yadav <p.yadav@ti.com>
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarPratyush Yadav <p.yadav@ti.com>
parent ccfb7cf1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
/**
 * spi_nor_otp_read_secr() - read OTP data
 * @nor:	pointer to 'struct spi_nor'
 * @from:       offset to read from
 * @addr:       offset to read from
 * @len:        number of bytes to read
 * @buf:        pointer to dst buffer
 *
@@ -59,7 +59,7 @@ int spi_nor_otp_read_secr(struct spi_nor *nor, loff_t addr, size_t len, u8 *buf)
/**
 * spi_nor_otp_write_secr() - write OTP data
 * @nor:        pointer to 'struct spi_nor'
 * @to:         offset to write to
 * @addr:       offset to write to
 * @len:        number of bytes to write
 * @buf:        pointer to src buffer
 *