summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/stm32
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/stm32')
-rw-r--r--drivers/pinctrl/stm32/pinctrl-stm32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
index 02b66588cac6..a276c61be217 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
@@ -150,12 +150,12 @@ static int stm32_gpio_request(struct gpio_chip *chip, unsigned offset)
150 return -EINVAL; 150 return -EINVAL;
151 } 151 }
152 152
153 return pinctrl_request_gpio(chip->base + offset); 153 return pinctrl_gpio_request(chip->base + offset);
154} 154}
155 155
156static void stm32_gpio_free(struct gpio_chip *chip, unsigned offset) 156static void stm32_gpio_free(struct gpio_chip *chip, unsigned offset)
157{ 157{
158 pinctrl_free_gpio(chip->base + offset); 158 pinctrl_gpio_free(chip->base + offset);
159} 159}
160 160
161static int stm32_gpio_get(struct gpio_chip *chip, unsigned offset) 161static int stm32_gpio_get(struct gpio_chip *chip, unsigned offset)