summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/omap2.c
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-09-29 09:33:49 +0400
committerAfzal Mohammed <afzal@ti.com>2012-10-15 13:11:55 +0400
commit89d1efc1fd0aceef8c668e8172aa470477b2784a (patch)
tree3233f21698e90b309f9cdb31e7ee0f87f608fc64 /drivers/mtd/onenand/omap2.c
parent1b47ca1a127925acd73381edb8d1d462014bff1f (diff)
downloadlinux-89d1efc1fd0aceef8c668e8172aa470477b2784a.tar.xz
mtd: onenand: omap: cleanup gpmc dependency
requesting, freeing gpmc cs is now handled fully by gpmc, remove left out gpmc dependency as well as unnecessary include of gpmc.h Signed-off-by: Afzal Mohammed <afzal@ti.com>
Diffstat (limited to 'drivers/mtd/onenand/omap2.c')
-rw-r--r--drivers/mtd/onenand/omap2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index 1961be985171..d7ef2c947daa 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -38,7 +38,6 @@
#include <linux/regulator/consumer.h>
#include <asm/mach/flash.h>
-#include <plat/gpmc.h>
#include <linux/platform_data/mtd-onenand-omap2.h>
#include <asm/gpio.h>
@@ -803,7 +802,6 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev)
}
iounmap(c->onenand.base);
release_mem_region(c->phys_base, c->mem_size);
- gpmc_cs_free(c->gpmc_cs);
kfree(c);
return 0;