mtd: mxc_nand: use a flag to detect if the mx21 quirk is necessary
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 23 Apr 2012 09:23:34 +0000 (11:23 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:01:17 +0000 (23:01 -0500)
commit8556958af4ef58147c11f772e6171c149efee53c
tree5cf13b30e4c217206906a8f39911d01ffe252925
parent8d1fd16df9e14b29965ed64e120015e481d1fe0a
mtd: mxc_nand: use a flag to detect if the mx21 quirk is necessary

This gets rid of several instances of cpu_is_mx21() in the driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c