mtd: spi-nor: otp: fix kerneldoc typos
diff mbox series

Message ID 20210505200017.17499-1-michael@walle.cc
State In Next
Commit a6e2cd4dd28effab117ddce7a62c5a411b282d2e
Headers show
Series
  • mtd: spi-nor: otp: fix kerneldoc typos
Related show

Commit Message

Michael Walle May 5, 2021, 8 p.m. UTC
Use the correct argument names in the kerneldoc.

Reported-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Michael Walle <michael@walle.cc>
---
 drivers/mtd/spi-nor/otp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Pratyush Yadav May 6, 2021, 4:57 p.m. UTC | #1
On 05/05/21 10:00PM, Michael Walle wrote:
> Use the correct argument names in the kerneldoc.
> 
> Reported-by: Pratyush Yadav <p.yadav@ti.com>
> Signed-off-by: Michael Walle <michael@walle.cc>

Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Vignesh Raghavendra May 27, 2021, 2:09 p.m. UTC | #2
On Wed, 5 May 2021 22:00:17 +0200, Michael Walle wrote:
> Use the correct argument names in the kerneldoc.

Applied to spi-nor/next, thanks!
[1/1] mtd: spi-nor: otp: fix kerneldoc typos
      https://git.kernel.org/mtd/c/a6e2cd4dd2

--
Regards
Vignesh

Patch
diff mbox series

diff --git a/drivers/mtd/spi-nor/otp.c b/drivers/mtd/spi-nor/otp.c
index fcf38d260345..61036c716abb 100644
--- a/drivers/mtd/spi-nor/otp.c
+++ b/drivers/mtd/spi-nor/otp.c
@@ -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
  *