projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccfb7cf
)
mtd: spi-nor: otp: fix kerneldoc typos
author
Michael Walle
<michael@walle.cc>
Wed, 5 May 2021 20:00:17 +0000
(22:00 +0200)
committer
Vignesh Raghavendra
<vigneshr@ti.com>
Wed, 26 May 2021 16:17:34 +0000
(21:47 +0530)
Use the correct argument names in the kerneldoc.
Fixes:
cad3193fe9d1
("mtd: spi-nor: implement OTP support for Winbond and similar flashes")
Reported-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
drivers/mtd/spi-nor/otp.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi-nor/otp.c
b/drivers/mtd/spi-nor/otp.c
index
fcf38d2
..
61036c7
100644
(file)
--- 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
*