mtd: pxa3xx_nand: remove the flash info in driver structure
authorLei Wen <leiwen@marvell.com>
Tue, 17 Aug 2010 09:25:57 +0000 (17:25 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:39:28 +0000 (23:39 +0100)
commit18c81b1828f8c4bdd01dd24f4015604a17ca0bb8
treecfd6f016a49ba016fb40bb8313b37d2b1b534ac6
parent227a886c7ead6420465abfd1242f449895b2c332
mtd: pxa3xx_nand: remove the flash info in driver structure

After probe, all info already transfer to driver structure.
There is no need to keep the original flash info.
So that we could safely free the flash info in memory, which may grows
larger when more flash is suported.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c