]> git.karo-electronics.de Git - karo-tx-linux.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)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 28 Apr 2012 12:04:46 +0000 (15:04 +0300)
commit8911b331b74cdf644e8113ac90dd0da832bece75
tree4f76f8395985be5771b998bec5a67c4db598ba26
parent3247329180b1a0b9d6fe896b13059f186a311cbf
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>
drivers/mtd/nand/mxc_nand.c