mtd: nand: rename create_bbt()'s 'len' variable to 'numpages'
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Mon, 20 Aug 2012 13:29:15 +0000 (16:29 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:10:37 +0000 (15:10 +0100)
commiteceb84b1886acb38e618f3dfb51cd4e53f2ddb97
treebc06d3dc83572db25d48c3fc085c71e8af2671cc
parent19da4158d33053c6e91e95ee0663d625b2d32a77
mtd: nand: rename create_bbt()'s 'len' variable to 'numpages'

Rename 'len' variable of create_bbt/scan_block_fast/scan_block_full to
'numpages', since it really means number of pages to scan when
searching for the BBM (and not the byte length of the scan).

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_bbt.c