Commit 315c46f9 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

treewide: rename pinctrl_gpio_direction_input_new()



Now that pinctrl_gpio_direction_input() is no longer used, let's drop the
'_new' suffix from its improved variant.

Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4fccb263
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ static int mvebu_gpio_direction_input(struct gpio_chip *chip, unsigned int pin)
	 * Check with the pinctrl driver whether this pin is usable as
	 * an input GPIO
	 */
	ret = pinctrl_gpio_direction_input_new(chip, pin);
	ret = pinctrl_gpio_direction_input(chip, pin);
	if (ret)
		return ret;

+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static int pxa_gpio_direction_input(struct gpio_chip *chip, unsigned offset)
	int ret;

	if (pxa_gpio_has_pinctrl()) {
		ret = pinctrl_gpio_direction_input_new(chip, offset);
		ret = pinctrl_gpio_direction_input(chip, offset);
		if (ret)
			return ret;
	}
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ static int rockchip_gpio_set_direction(struct gpio_chip *chip,


	if (input)
		pinctrl_gpio_direction_input_new(chip, offset);
		pinctrl_gpio_direction_input(chip, offset);
	else
		pinctrl_gpio_direction_output_new(chip, offset);

+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ static int tegra_gpio_direction_input(struct gpio_chip *chip,
	tegra_gpio_mask_write(tgi, GPIO_MSK_OE(tgi, offset), offset, 0);
	tegra_gpio_enable(tgi, offset);

	ret = pinctrl_gpio_direction_input_new(chip, offset);
	ret = pinctrl_gpio_direction_input(chip, offset);
	if (ret < 0)
		dev_err(tgi->dev,
			"Failed to set pinctrl input direction of GPIO %d: %d",
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ static int vf610_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
		vf610_gpio_writel(val, port->gpio_base + GPIO_PDDR);
	}

	return pinctrl_gpio_direction_input_new(chip, gpio);
	return pinctrl_gpio_direction_input(chip, gpio);
}

static int vf610_gpio_direction_output(struct gpio_chip *chip, unsigned gpio,
Loading