Commit 93639058 authored by Tony Lindgren's avatar Tony Lindgren Committed by Linus Walleij

pinctrl: core: Remove broken remove_last group and pinmux functions

With no users left for these functions let's remove them.
Reported-by: default avatarH. Nikolaus Schaller <>
Cc: Christ van Willegen <>
Cc: Haojian Zhuang <>
Cc: Jacopo Mondi <>
Cc: Paul Cercueil <>
Cc: Sean Wang <>
Signed-off-by: default avatarTony Lindgren <>
Tested-By: default avatarH. Nikolaus Schaller <>
Reviewed-by: Andy Shevchenko's avatarAndy Shevchenko <>
Signed-off-by: Linus Walleij's avatarLinus Walleij <>
parent dc4003d2
......@@ -218,12 +218,6 @@ int pinctrl_generic_add_group(struct pinctrl_dev *pctldev, const char *name,
int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev,
unsigned int group_selector);
static inline int
pinctrl_generic_remove_last_group(struct pinctrl_dev *pctldev)
return pinctrl_generic_remove_group(pctldev, pctldev->num_groups - 1);
struct pinctrl_dev *get_pinctrl_dev_from_devname(const char *dev_name);
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment