mtd: lpc32xx_mlc: Cleanup after DT-only conversion
authorRoland Stigge <stigge@antcom.de>
Fri, 24 Aug 2012 13:06:52 +0000 (15:06 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:12:49 +0000 (15:12 +0100)
commit62beee20b1a53ba633badc4b57c68d815c9f3e66
tree55141ad2591f4ed9dc506071353a6f4930bc7260
parent10594f67870e86aac361d75ee1e84535a33e1214
mtd: lpc32xx_mlc: Cleanup after DT-only conversion

The LPC32xx's DT-only conversion of the MLC NAND driver makes NAND config via
platform_data obsolete. Dropped by this patch.

Further, the driver really needs CONFIG_OF, which is already reflected by the
dependency on ARCH_LPC32XX which depends on CONFIG_OF. So also dropping
CONFIG_OF ifdefs.

There is still platform_data necessary to supply the dma_filter callback for
the dma engine. This is a completely different data structure than the old
platform_data for NAND config, so renaming some old "pdata" variable to "ncfg"
to prevent confusion with the new platform data.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/lpc32xx_mlc.c