diff options
author | Jonathan Corbet <corbet@lwn.net> | 2017-07-30 18:18:03 -0400 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-02 04:26:41 -0400 |
commit | cb25fae18207330caac848d850e11f9cdb500dbf (patch) | |
tree | 00e468951f84f226073624a51eac45724ad4d443 | |
parent | 791eccd94965a8029ae09c5530bcb9a76794e408 (diff) |
mtd: nand: Fix a docs build warning
Commit 0b4773fd1649 (mtd: nand: Drop unused cached programming support)
removed the "cached" parameter from nand_write_page(), but did not update
the kerneldoc comments, creating this docs build warning:
./drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page'
Remove the offending line so we can have a little peace and quiet.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 7b3826b42447..5b7c8d05360f 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -2747,7 +2747,6 @@ static int nand_write_page_syndrome(struct mtd_info *mtd, | |||
2747 | * @buf: the data to write | 2747 | * @buf: the data to write |
2748 | * @oob_required: must write chip->oob_poi to OOB | 2748 | * @oob_required: must write chip->oob_poi to OOB |
2749 | * @page: page number to write | 2749 | * @page: page number to write |
2750 | * @cached: cached programming | ||
2751 | * @raw: use _raw version of write_page | 2750 | * @raw: use _raw version of write_page |
2752 | */ | 2751 | */ |
2753 | static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, | 2752 | static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, |