diff options
author | Afzal Mohammed <afzal@ti.com> | 2012-09-29 01:33:49 -0400 |
---|---|---|
committer | Afzal Mohammed <afzal@ti.com> | 2012-10-15 05:11:55 -0400 |
commit | 89d1efc1fd0aceef8c668e8172aa470477b2784a (patch) | |
tree | 3233f21698e90b309f9cdb31e7ee0f87f608fc64 /drivers/mtd/onenand | |
parent | 1b47ca1a127925acd73381edb8d1d462014bff1f (diff) |
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')
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 2 |
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 @@ | |||
38 | #include <linux/regulator/consumer.h> | 38 | #include <linux/regulator/consumer.h> |
39 | 39 | ||
40 | #include <asm/mach/flash.h> | 40 | #include <asm/mach/flash.h> |
41 | #include <plat/gpmc.h> | ||
42 | #include <linux/platform_data/mtd-onenand-omap2.h> | 41 | #include <linux/platform_data/mtd-onenand-omap2.h> |
43 | #include <asm/gpio.h> | 42 | #include <asm/gpio.h> |
44 | 43 | ||
@@ -803,7 +802,6 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) | |||
803 | } | 802 | } |
804 | iounmap(c->onenand.base); | 803 | iounmap(c->onenand.base); |
805 | release_mem_region(c->phys_base, c->mem_size); | 804 | release_mem_region(c->phys_base, c->mem_size); |
806 | gpmc_cs_free(c->gpmc_cs); | ||
807 | kfree(c); | 805 | kfree(c); |
808 | 806 | ||
809 | return 0; | 807 | return 0; |