mtd: nand: omap2: use gpmc provided irqs
authorAfzal Mohammed <afzal@ti.com>
Thu, 30 Aug 2012 19:53:24 +0000 (12:53 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 19:53:24 +0000 (12:53 -0700)
commit5c4684557b7e37afd42fa35f420f2f28bfb75442
tree2e10f3cfe3a19f0d64b17f48f18eeeedeaeabbee
parent2ee30f0511758c1a21d3346bb88f25f7645ba108
mtd: nand: omap2: use gpmc provided irqs

GPMC platform initialization provides it's clients
with interrupts that can be used through struct
resource. Make use of it for irq mode functionality.

Also now write protect disable is done by GPMC,
hence remove it.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
[tony@atomide.com: updated to fix new warnings introduced]
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mtd/nand/omap2.c