summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-em.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-10-07 13:29:14 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-10-07 13:29:14 +0300
commit2dca9227d356f77d1f6372db213e0446c972a79d (patch)
tree2d846d70def6e6a0ad774b34972fa12d87862d9d /drivers/gpio/gpio-em.c
parent027c87fe69599598c6d396b971d2cd9ef45e002e (diff)
parentad5c32218879c4b23638488989503d7444822ef2 (diff)
downloadlinux-2dca9227d356f77d1f6372db213e0446c972a79d.tar.xz
Merge branch 'pinconf-rename' into devel
Diffstat (limited to 'drivers/gpio/gpio-em.c')
-rw-r--r--drivers/gpio/gpio-em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index 8d32ccc980d9..b86e09e1b13b 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -239,12 +239,12 @@ static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset)
static int em_gio_request(struct gpio_chip *chip, unsigned offset)
{
- return pinctrl_request_gpio(chip->base + offset);
+ return pinctrl_gpio_request(chip->base + offset);
}
static void em_gio_free(struct gpio_chip *chip, unsigned offset)
{
- pinctrl_free_gpio(chip->base + offset);
+ pinctrl_gpio_free(chip->base + offset);
/* Set the GPIO as an input to ensure that the next GPIO request won't
* drive the GPIO pin as an output.