aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-em.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-10-03 09:57:17 +0000
committerBartosz Golaszewski <[email protected]>2023-11-04 09:23:21 +0000
commit4fccb263f3a0dc07b306213930e0c25d1c9002b0 (patch)
treeb7e70378703d77f1a6de8190ce678377a0f2b06e /drivers/gpio/gpio-em.c
parenttreewide: rename pinctrl_gpio_request_new() (diff)
downloadkernel-4fccb263f3a0dc07b306213930e0c25d1c9002b0.tar.gz
kernel-4fccb263f3a0dc07b306213930e0c25d1c9002b0.zip
treewide: rename pinctrl_gpio_free_new()
Now that pinctrl_gpio_free()() is no longer used, let's drop the '_new' suffix from its improved variant. Signed-off-by: Bartosz Golaszewski <[email protected]> Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-em.c')
-rw-r--r--drivers/gpio/gpio-em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index 08c5427deb71..aa31c189d0ef 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -234,7 +234,7 @@ static int em_gio_request(struct gpio_chip *chip, unsigned offset)
static void em_gio_free(struct gpio_chip *chip, unsigned offset)
{
- pinctrl_gpio_free_new(chip, offset);
+ pinctrl_gpio_free(chip, offset);
/* Set the GPIO as an input to ensure that the next GPIO request won't
* drive the GPIO pin as an output.