mtd: nand: correct the comment of function nand_block_isreserved()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 3 Sep 2014 09:49:10 +0000 (17:49 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 29 Nov 2014 03:59:50 +0000 (19:59 -0800)
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c

index 4cbd14552d48c68d7499d8d88c8071807ab70817..41585dfb206f05caef275c95799ccf53508abb94 100644 (file)
@@ -485,11 +485,11 @@ static int nand_check_wp(struct mtd_info *mtd)
 }
 
 /**
- * nand_block_checkbad - [GENERIC] Check if a block is marked bad
+ * nand_block_isreserved - [GENERIC] Check if a block is marked reserved.
  * @mtd: MTD device structure
  * @ofs: offset from device start
  *
- * Check if the block is mark as reserved.
+ * Check if the block is marked as reserved.
  */
 static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs)
 {