mtd: pxa3xx_nand: make scan procedure more clear
authorLei Wen <leiwen@marvell.com>
Thu, 3 Mar 2011 03:08:30 +0000 (11:08 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 14:22:50 +0000 (14:22 +0000)
commite353a20afaee1e3e67fc4fa663a76c68a4c1fb74
tree2de3b53dee73418c5f516ca402d3ce0e3ffcf6da
parente70727e442eb61581f836a9a0ca0c3b70d8a3ff2
mtd: pxa3xx_nand: make scan procedure more clear

The previous probe function is some kind of big part.
This patch seperate the resource allocation to keep the probe process
more clear than before.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c