diff options
author | Dong Aisheng <dong.aisheng@linaro.org> | 2012-05-23 09:22:40 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-07-03 15:51:07 -0400 |
commit | 5d589b092ab212bbcc27828167e1c036e7fc77d2 (patch) | |
tree | d3c9dcc8ae1f647d912179b4bfd98e27bbdb801a /include/linux/pinctrl/pinctrl.h | |
parent | da9aecb02d8763ef17130dfd7c678747ad84b070 (diff) |
pinctrl: remove pinctrl_remove_gpio_range
The gpio ranges will be automatically removed when the pinctrl
driver is unregistered.
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl/pinctrl.h')
-rw-r--r-- | include/linux/pinctrl/pinctrl.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index 3b894a668d32..170a588a55b6 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h | |||
@@ -131,8 +131,6 @@ extern void pinctrl_unregister(struct pinctrl_dev *pctldev); | |||
131 | extern bool pin_is_valid(struct pinctrl_dev *pctldev, int pin); | 131 | extern bool pin_is_valid(struct pinctrl_dev *pctldev, int pin); |
132 | extern void pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, | 132 | extern void pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, |
133 | struct pinctrl_gpio_range *range); | 133 | struct pinctrl_gpio_range *range); |
134 | extern void pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev, | ||
135 | struct pinctrl_gpio_range *range); | ||
136 | extern const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev); | 134 | extern const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev); |
137 | extern void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev); | 135 | extern void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev); |
138 | #else | 136 | #else |