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

pinctrl: vt8500: 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/vt8500/pinctrl-wmt.c
··· 526 526 wmt_clearbits(data, reg_data_out, BIT(bit)); 527 527 } 528 528 529 - static int wmt_gpio_direction_input(struct gpio_chip *chip, unsigned offset) 530 - { 531 - return pinctrl_gpio_direction_input(chip, offset); 532 - } 533 - 534 529 static int wmt_gpio_direction_output(struct gpio_chip *chip, unsigned offset, 535 530 int value) 536 531 { ··· 539 544 .request = gpiochip_generic_request, 540 545 .free = gpiochip_generic_free, 541 546 .get_direction = wmt_gpio_get_direction, 542 - .direction_input = wmt_gpio_direction_input, 547 + .direction_input = pinctrl_gpio_direction_input, 543 548 .direction_output = wmt_gpio_direction_output, 544 549 .get = wmt_gpio_get_value, 545 550 .set = wmt_gpio_set_value,