mtd: spi-nor: otp: fix kerneldoc typos

Use the correct argument names in the kerneldoc.

Fixes: cad3193fe9 ("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>
This commit is contained in:
Michael Walle 2021-05-05 22:00:17 +02:00 коммит произвёл Vignesh Raghavendra
Родитель ccfb7cf18f
Коммит a6e2cd4dd2
1 изменённых файлов: 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
*