pinctrl: remove pinctrl_gpio_set_config()
There are no more users of pinctrl_gpio_set_config() 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:
@@ -33,7 +33,6 @@ int pinctrl_gpio_direction_input_new(struct gpio_chip *gc,
|
||||
unsigned int offset);
|
||||
int pinctrl_gpio_direction_output_new(struct gpio_chip *gc,
|
||||
unsigned int offset);
|
||||
int pinctrl_gpio_set_config(unsigned gpio, unsigned long config);
|
||||
int pinctrl_gpio_set_config_new(struct gpio_chip *gc, unsigned int offset,
|
||||
unsigned long config);
|
||||
|
||||
@@ -97,11 +96,6 @@ pinctrl_gpio_direction_output_new(struct gpio_chip *gc, unsigned int offset)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int pinctrl_gpio_set_config(unsigned gpio, unsigned long config)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int
|
||||
pinctrl_gpio_set_config_new(struct gpio_chip *gc, unsigned int offset,
|
||||
unsigned long config)
|
||||
|
||||
Reference in New Issue
Block a user