From: Afzal Mohammed Date: Sat, 29 Sep 2012 05:33:49 +0000 (+0530) Subject: mtd: onenand: omap: cleanup gpmc dependency X-Git-Tag: firefly_0821_release~3680^2~1486^2~10^2~21^2^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=89d1efc1fd0aceef8c668e8172aa470477b2784a;p=firefly-linux-kernel-4.4.55.git 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 --- 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 #include -#include #include #include @@ -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;