mtd: nand: use the nand_read_subpage index everywhere
authorRon <ron@debian.org>
Sat, 15 Mar 2014 17:31:08 +0000 (04:01 +1030)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 16 Apr 2014 06:25:36 +0000 (23:25 -0700)
commit47570bb1f533b2a48e5222db8545b7842c229331
tree04d622505dc3e2133e413c1d6cdd3aca1be8698f
parent9fd6c6c18c1a4a3220473c76fd447c5708b5ecf9
mtd: nand: use the nand_read_subpage index everywhere

Now that the index variable is correctly set earlier in this function
we can use it in other places that compute the same thing too.

Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c