]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ffb3a3308bac7a9c24dd3ccc19e696fb85f842c
treecfd6f016a49ba016fb40bb8313b37d2b1b534ac6
parentb335b788ac9c5abbd1adb4387a130867a332c85a
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