diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-09-06 08:45:36 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-09-11 13:45:01 +0000 |
| commit | c83d3c77332e264ec77ceced614fe9630c7bfaad (patch) | |
| tree | d67718b1cb8f04ac8f80f43f1f60902707a8ef36 /drivers/gpio/gpiolib-of.h | |
| parent | gpio: aspeed: Add in ast2600 details to Aspeed driver (diff) | |
| download | kernel-c83d3c77332e264ec77ceced614fe9630c7bfaad.tar.gz kernel-c83d3c77332e264ec77ceced614fe9630c7bfaad.zip | |
gpio: of: Make of_get_named_gpiod_flags() private
Since commit f626d6dfb7098525 ("gpio: of: Break out OF-only code"),
there are no more users of of_get_named_gpiod_flags() outside
gpiolib-of.c.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpiolib-of.h')
| -rw-r--r-- | drivers/gpio/gpiolib-of.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpio/gpiolib-of.h b/drivers/gpio/gpiolib-of.h index 454d1658ee2d..9768831b1fe2 100644 --- a/drivers/gpio/gpiolib-of.h +++ b/drivers/gpio/gpiolib-of.h @@ -11,8 +11,6 @@ struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, unsigned int idx, unsigned long *lookupflags); -struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, - const char *list_name, int index, enum of_gpio_flags *flags); int of_gpiochip_add(struct gpio_chip *gc); void of_gpiochip_remove(struct gpio_chip *gc); int of_gpio_get_count(struct device *dev, const char *con_id); @@ -25,11 +23,6 @@ static inline struct gpio_desc *of_find_gpio(struct device *dev, { return ERR_PTR(-ENOENT); } -static inline struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, - const char *list_name, int index, enum of_gpio_flags *flags) -{ - return ERR_PTR(-ENOENT); -} static inline int of_gpiochip_add(struct gpio_chip *gc) { return 0; } static inline void of_gpiochip_remove(struct gpio_chip *gc) { } static inline int of_gpio_get_count(struct device *dev, const char *con_id) |
