Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: as3722: drop the wrapper around pinctrl_gpio_direction_input()

pinctrl_gpio_direction_input() now has the same signature as the
wrapper around it so we can drop them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>

+1 -6
+1 -6
drivers/pinctrl/pinctrl-as3722.c
··· 500 500 "GPIO_SIGNAL_OUT_REG update failed: %d\n", ret); 501 501 } 502 502 503 - static int as3722_gpio_direction_input(struct gpio_chip *chip, unsigned offset) 504 - { 505 - return pinctrl_gpio_direction_input(chip, offset); 506 - } 507 - 508 503 static int as3722_gpio_direction_output(struct gpio_chip *chip, 509 504 unsigned offset, int value) 510 505 { ··· 521 526 .free = gpiochip_generic_free, 522 527 .get = as3722_gpio_get, 523 528 .set = as3722_gpio_set, 524 - .direction_input = as3722_gpio_direction_input, 529 + .direction_input = pinctrl_gpio_direction_input, 525 530 .direction_output = as3722_gpio_direction_output, 526 531 .to_irq = as3722_gpio_to_irq, 527 532 .can_sleep = true,