mtd: nand: remove kerneldoc for removed function parameter

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Mar 24 11:59:12 PDT 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6871c1b96de88d3576d935b528fd1b0ec70e81f5
Commit:     6871c1b96de88d3576d935b528fd1b0ec70e81f5
Parent:     c76b78d8ec05a247975542061df3f1321783f98d
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Thu Mar 10 12:47:23 2016 -0800
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Mar 11 09:41:19 2016 -0800

    mtd: nand: remove kerneldoc for removed function parameter
    
    The 'getchip' parameter is gone as of commit 9f3e04297b08 ("mtd: nand:
    don't select chip in nand_chip's block_bad op"), so kill the doc with
    it.
    
    Reported-by: kbuild test robot <fengguang.wu at intel.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 drivers/mtd/nand/nand_base.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index d49b01d..b6facac 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -313,7 +313,6 @@ static void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len)
  * nand_block_bad - [DEFAULT] Read bad block marker from the chip
  * @mtd: MTD device structure
  * @ofs: offset from device start
- * @getchip: 0, if the chip is already selected
  *
  * Check, if the block is bad.
  */



More information about the linux-mtd-cvs mailing list