mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Cc: Christ van Willegen <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Jacopo Mondi <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: Sean Wang <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Tested-By: H. Nikolaus Schaller <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
dc4003d260
commit
93639058b2
2 changed files with 0 additions and 13 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_GENERIC_PINCTRL_GROUPS */
|
||||
|
||||
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);
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue