linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: otp: fix kerneldoc typos
@ 2021-05-05 20:00 Michael Walle
  2021-05-06 16:57 ` Pratyush Yadav
  2021-05-27 14:09 ` Vignesh Raghavendra
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Walle @ 2021-05-05 20:00 UTC (permalink / raw)
  To: Tudor Ambarus, linux-mtd, linux-kernel
  Cc: Pratyush Yadav, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Michael Walle

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(-)

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
  *
-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: spi-nor: otp: fix kerneldoc typos
  2021-05-05 20:00 [PATCH] mtd: spi-nor: otp: fix kerneldoc typos Michael Walle
@ 2021-05-06 16:57 ` Pratyush Yadav
  2021-05-27 14:09 ` Vignesh Raghavendra
  1 sibling, 0 replies; 3+ messages in thread
From: Pratyush Yadav @ 2021-05-06 16:57 UTC (permalink / raw)
  To: Michael Walle
  Cc: Tudor Ambarus, linux-mtd, linux-kernel, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra

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>

-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: spi-nor: otp: fix kerneldoc typos
  2021-05-05 20:00 [PATCH] mtd: spi-nor: otp: fix kerneldoc typos Michael Walle
  2021-05-06 16:57 ` Pratyush Yadav
@ 2021-05-27 14:09 ` Vignesh Raghavendra
  1 sibling, 0 replies; 3+ messages in thread
From: Vignesh Raghavendra @ 2021-05-27 14:09 UTC (permalink / raw)
  To: Tudor Ambarus, Michael Walle, linux-kernel, linux-mtd
  Cc: Vignesh Raghavendra, Richard Weinberger, Pratyush Yadav, Miquel Raynal

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-27 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 20:00 [PATCH] mtd: spi-nor: otp: fix kerneldoc typos Michael Walle
2021-05-06 16:57 ` Pratyush Yadav
2021-05-27 14:09 ` Vignesh Raghavendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).