Skip to contentSkip to conversation

mtd: nand: remove kerneldoc for removed function parameter

PATCH In review Brian Norris 2 participants 3 messages Mar 10, 2016 – Mar 11, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/mtd/nand/nand_base.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/nand/nand_base.c +0 -1
index d49b01df3513..b6facac54fc0 100644
@@ -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.
  */
Signature · 1 line
2.7.0.rc3.207.g0ac5344
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Thu, 10 Mar 2016 12:47:23 -0800 Brian Norris <[email protected]>…

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.

Quoted 16 lines
---
 drivers/mtd/nand/nand_base.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/nand/nand_base.c +0 -1
index d49b01df3513..b6facac54fc0 100644
@@ -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.
  */
Signature · 3 lines
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com