summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r--drivers/gpio/gpio-tegra.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 3f35036e1f30..88524fe6bfd7 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -154,18 +154,12 @@ void tegra_gpio_init_configure(unsigned gpio, bool is_input, int value)
static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset)
{
-#if 0
return pinctrl_request_gpio(offset);
-#else
- return 0;
-#endif
}
static void tegra_gpio_free(struct gpio_chip *chip, unsigned offset)
{
-#if 0
pinctrl_free_gpio(offset);
-#endif
tegra_gpio_disable(offset);
}