mtd: nand: remove redundant ID read
authorBrian Norris <computersforpeace@gmail.com>
Tue, 25 Sep 2012 03:40:48 +0000 (20:40 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:57:22 +0000 (15:57 +0100)
commit4aef9b78de057349ad9d620851b14800af0b962c
tree0e15d6408e74ceae8ac4f6ece99fbaca3dce79dd
parent47450b35915c45309974c74f11c2d236db1b950f
mtd: nand: remove redundant ID read

Instead of reading 2 bytes then later 8 bytes, we can simply read all 8
bytes from the start.

Signed-off-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_base.c