]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: use the nand_read_subpage index everywhere
authorRon <ron@debian.org>
Sat, 15 Mar 2014 17:31:08 +0000 (04:01 +1030)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:41 +0000 (21:16 -0600)
commitdb34277c5ae2af8000316ecf912f5d179fd94769
tree978f86293aa72be7010c415c776529cc1baa07d1
parente992c91354532a297e9d7a57d41182b50ccac5c2
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>
Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/nand/nand_base.c