aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-mxs.c
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2012-05-14 07:06:39 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-05-15 03:48:07 -0400
commiteaf7bfb0925975c955d5069d70bbd05f34db6846 (patch)
treef58939820ea0a7a1e3045e59c75cf19983919c6a /drivers/pinctrl/pinctrl-mxs.c
parent273f0c349e30f1d20bf04a2779235a8a312f71d2 (diff)
pinctrl: pinctrl-mxs: remove empty pinmux disable function
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 'drivers/pinctrl/pinctrl-mxs.c')
-rw-r--r--drivers/pinctrl/pinctrl-mxs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c
index ab63d3851f2..556e45a213e 100644
--- a/drivers/pinctrl/pinctrl-mxs.c
+++ b/drivers/pinctrl/pinctrl-mxs.c
@@ -214,18 +214,11 @@ static int mxs_pinctrl_enable(struct pinctrl_dev *pctldev, unsigned selector,
214 return 0; 214 return 0;
215} 215}
216 216
217static void mxs_pinctrl_disable(struct pinctrl_dev *pctldev,
218 unsigned function, unsigned group)
219{
220 /* Nothing to do here */
221}
222
223static struct pinmux_ops mxs_pinmux_ops = { 217static struct pinmux_ops mxs_pinmux_ops = {
224 .get_functions_count = mxs_pinctrl_get_funcs_count, 218 .get_functions_count = mxs_pinctrl_get_funcs_count,
225 .get_function_name = mxs_pinctrl_get_func_name, 219 .get_function_name = mxs_pinctrl_get_func_name,
226 .get_function_groups = mxs_pinctrl_get_func_groups, 220 .get_function_groups = mxs_pinctrl_get_func_groups,
227 .enable = mxs_pinctrl_enable, 221 .enable = mxs_pinctrl_enable,
228 .disable = mxs_pinctrl_disable,
229}; 222};
230 223
231static int mxs_pinconf_get(struct pinctrl_dev *pctldev, 224static int mxs_pinconf_get(struct pinctrl_dev *pctldev,