diff options
author | Michael Walle <michael@walle.cc> | 2021-05-05 22:00:17 +0200 |
---|---|---|
committer | Vignesh Raghavendra <vigneshr@ti.com> | 2021-05-26 21:47:34 +0530 |
commit | a6e2cd4dd28effab117ddce7a62c5a411b282d2e (patch) | |
tree | f95f601a240ec0264e9a6c95ecabbef5a43a6ff9 /drivers/mtd | |
parent | ccfb7cf18f9680958e76991c8f15562ff42f4bc9 (diff) | |
download | linux-a6e2cd4dd28effab117ddce7a62c5a411b282d2e.tar.gz linux-a6e2cd4dd28effab117ddce7a62c5a411b282d2e.tar.bz2 linux-a6e2cd4dd28effab117ddce7a62c5a411b282d2e.zip |
mtd: spi-nor: otp: fix kerneldoc typos
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi-nor/otp.c | 4 |
1 files 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 * |