]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dc5075d94325a7c987412223fb2bb13b50b03eb
tree5cf13b30e4c217206906a8f39911d01ffe252925
parentb7c272251b19363d1ed6974ca18df948b62ba13e
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