]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: onenand: omap: use pdata info instead of cpu_is
authorAfzal Mohammed <afzal@ti.com>
Fri, 5 Oct 2012 06:13:19 +0000 (11:43 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:12:01 +0000 (14:42 +0530)
commitc7f73dda2761913f73f066652a16d5380c361cc9
treea1c7a909131851fe69daae2abf15dcb18356831b
parent874c322c5b35c25bd54f129b1a4bc7885d2a091c
mtd: onenand: omap: use pdata info instead of cpu_is

platform data now contains a field to indicate whether
soc belongs to omap34xx family, use it instead of
cpu_is_* check.

This helps in removing dependency of platform specific
header file - cpu.h

Signed-off-by: Afzal Mohammed <afzal@ti.com>
drivers/mtd/onenand/omap2.c