summaryrefslogtreecommitdiffstats
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index fbaf974277df..8db47f671708 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -141,14 +141,14 @@ static void tegra_gpio_disable(struct tegra_gpio_info *tgi, unsigned int gpio)
141 141
142static int tegra_gpio_request(struct gpio_chip *chip, unsigned int offset) 142static int tegra_gpio_request(struct gpio_chip *chip, unsigned int offset)
143{ 143{
144 return pinctrl_request_gpio(offset); 144 return pinctrl_gpio_request(offset);
145} 145}
146 146
147static void tegra_gpio_free(struct gpio_chip *chip, unsigned int offset) 147static void tegra_gpio_free(struct gpio_chip *chip, unsigned int offset)
148{ 148{
149 struct tegra_gpio_info *tgi = gpiochip_get_data(chip); 149 struct tegra_gpio_info *tgi = gpiochip_get_data(chip);
150 150
151 pinctrl_free_gpio(offset); 151 pinctrl_gpio_free(offset);
152 tegra_gpio_disable(tgi, offset); 152 tegra_gpio_disable(tgi, offset);
153} 153}
154 154