diff mbox

[PATCHv2,1/3] omap3: IGEP v2: Remove onenand_setup no-op function.

Message ID 1287852540-4951-2-git-send-email-eballetbo@gmail.com (mailing list archive)
State Accepted
Commit 3b70d3f84e6f7b23bda18499177c6aa6b8ce7169
Delegated to: Tony Lindgren
Headers show

Commit Message

Enric Balletbo Serra Oct. 23, 2010, 4:48 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 5e035a5..20b199f 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -136,16 +136,9 @@  static struct mtd_partition igep2_onenand_partitions[] = {
 	},
 };
 
-static int igep2_onenand_setup(void __iomem *onenand_base, int freq)
-{
-       /* nothing is required to be setup for onenand as of now */
-       return 0;
-}
-
 static struct omap_onenand_platform_data igep2_onenand_data = {
 	.parts = igep2_onenand_partitions,
 	.nr_parts = ARRAY_SIZE(igep2_onenand_partitions),
-	.onenand_setup = igep2_onenand_setup,
 	.dma_channel	= -1,	/* disable DMA in OMAP OneNAND driver */
 };