mtd: lpc32xx_slc: Cleanup after DT-only conversion
authorRoland Stigge <stigge@antcom.de>
Fri, 24 Aug 2012 13:06:51 +0000 (15:06 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:12:48 +0000 (15:12 +0100)
commit10594f67870e86aac361d75ee1e84535a33e1214
tree3ce8d25515e4e2bdb1e992e454f002d101b9b74b
parente1f5b3f6a8370a053326077b413c61026e3f710a
mtd: lpc32xx_slc: Cleanup after DT-only conversion

The LPC32xx's DT-only conversion of the SLC 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_slc.c