Skip to content

Commit

Permalink
mtd: spi-nor: Fix kernel-doc warning
Browse files Browse the repository at this point in the history
This patch fixes the following kernel-doc warnings.

warning: Function parameter or member 'addr' not described in
'spi_nor_write_ear'
warning: Excess function parameter 'ear' description in 'spi_nor_write_ear'

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
  • Loading branch information
Amit Kumar Mahapatra authored and Michal Simek committed Jan 25, 2022
1 parent c23af60 commit 09b1ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/spi-nor/core.c
Expand Up @@ -577,7 +577,7 @@ static int spansion_set_4byte_addr_mode(struct spi_nor *nor, bool enable)
/**
* spi_nor_write_ear() - Write Extended Address Register.
* @nor: pointer to 'struct spi_nor'.
* @ear: value to write to the Extended Address Register.
* @addr: value to write to the Extended Address Register.
*
* Return: 0 on success, -errno otherwise.
*/
Expand Down

0 comments on commit 09b1ff6

Please sign in to comment.