mtd: spi-nor: otp: fix kerneldoc typos
Subsystems (2)
PATCH 1/1 mtd: spi-nor: otp: fix kerneldoc typos
Use the correct argument names in the kerneldoc.
Reported-by Pratyush Yadav <[email protected]>
Signed-off-by Michael Walle <[email protected]>
--- drivers/mtd/spi-nor/otp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/spi-nor/otp.c +2 -2
@@ -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 *
Signature · 1 line
2.20.1
Quoted 4 lines · Michael Walle
Use the correct argument names in the kerneldoc.
Reported-by Pratyush Yadav <[email protected]>Signed-off-by Michael Walle <[email protected]>
Reviewed-by Pratyush Yadav <[email protected]>
Signature · 3 lines
Regards, Pratyush Yadav Texas Instruments Inc.
Quoted 1 line · Michael Walle
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