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>
This commit is contained in:
Afzal Mohammed 2012-09-29 11:03:49 +05:30
Родитель 1b47ca1a12
Коммит 89d1efc1fd
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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;