pinctrl: remove pinctrl_gpio_direction_input()
There are no more users of pinctrl_gpio_direction_input() so remove it. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -29,7 +29,6 @@ struct pinctrl_state;
|
||||
bool pinctrl_gpio_can_use_line_new(struct gpio_chip *gc, unsigned int offset);
|
||||
int pinctrl_gpio_request_new(struct gpio_chip *gc, unsigned int offset);
|
||||
void pinctrl_gpio_free_new(struct gpio_chip *gc, unsigned int offset);
|
||||
int pinctrl_gpio_direction_input(unsigned gpio);
|
||||
int pinctrl_gpio_direction_input_new(struct gpio_chip *gc,
|
||||
unsigned int offset);
|
||||
int pinctrl_gpio_direction_output(unsigned gpio);
|
||||
@@ -87,11 +86,6 @@ pinctrl_gpio_free_new(struct gpio_chip *gc, unsigned int offset)
|
||||
{
|
||||
}
|
||||
|
||||
static inline int pinctrl_gpio_direction_input(unsigned gpio)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int
|
||||
pinctrl_gpio_direction_input_new(struct gpio_chip *gc, unsigned int offset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user