From 30b692f5b25c5d39a6f42b164a5882fcb9431ab5 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Fri, 3 Aug 2012 14:38:11 +0530 Subject: mtd: nand: tegra: get rid of tegra_gpio_enable() The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: Id1730f48d43134c67eb1e6edf70884e3e5f582d2 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/120849 Reviewed-by: Automatic_Commit_Validation_User --- drivers/mtd/devices/tegra_nand.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/tegra_nand.c b/drivers/mtd/devices/tegra_nand.c index c8a3e7090b90..38baa40746c6 100644 --- a/drivers/mtd/devices/tegra_nand.c +++ b/drivers/mtd/devices/tegra_nand.c @@ -1615,7 +1615,6 @@ static int __devinit tegra_nand_probe(struct platform_device *pdev) if (plat->wp_gpio) { gpio_request(plat->wp_gpio, "nand_wp"); - tegra_gpio_enable(plat->wp_gpio); gpio_direction_output(plat->wp_gpio, 1); } -- cgit v1.2.3