summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-03 14:38:11 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-03 14:04:07 -0700
commit30b692f5b25c5d39a6f42b164a5882fcb9431ab5 (patch)
tree6accc2ea0b7282b55a5f2cb5462128aa5944e0d1 /drivers/mtd
parentd6c59f11b82022478d51acaf5a7db6107340d355 (diff)
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 <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/120849 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/tegra_nand.c1
1 files changed, 0 insertions, 1 deletions
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);
}