diff options
author | Tony Lindgren <tony@atomide.com> | 2018-07-05 02:10:18 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-17 10:49:49 +0200 |
commit | 93639058b2af462a9871159be1afe60eab59431e (patch) | |
tree | 5131ad9daad482d6351475850bbf1bb05c69352c /drivers/pinctrl/pinmux.h | |
parent | dc4003d260594aa300028c3c5d040c5719abd19b (diff) | |
download | linux-93639058b2af462a9871159be1afe60eab59431e.tar.bz2 |
pinctrl: core: Remove broken remove_last group and pinmux functions
With no users left for these functions let's remove them.
Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Cc: Christ van Willegen <cvwillegen@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tested-By: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.h')
-rw-r--r-- | drivers/pinctrl/pinmux.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pinctrl/pinmux.h b/drivers/pinctrl/pinmux.h index a331fcdbedd9..3319535c76cb 100644 --- a/drivers/pinctrl/pinmux.h +++ b/drivers/pinctrl/pinmux.h @@ -150,13 +150,6 @@ int pinmux_generic_add_function(struct pinctrl_dev *pctldev, int pinmux_generic_remove_function(struct pinctrl_dev *pctldev, unsigned int selector); -static inline int -pinmux_generic_remove_last_function(struct pinctrl_dev *pctldev) -{ - return pinmux_generic_remove_function(pctldev, - pctldev->num_functions - 1); -} - void pinmux_generic_free_functions(struct pinctrl_dev *pctldev); #else |