pinctrl: pinctrl-mxs: remove empty pinmux disable function
authorDong Aisheng <dong.aisheng@linaro.org>
Mon, 14 May 2012 11:06:39 +0000 (19:06 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 May 2012 07:48:07 +0000 (09:48 +0200)
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>
drivers/pinctrl/pinctrl-mxs.c

index ab63d3851f2732aba16cba99877906aa14bbb8b6..556e45a213eb1997f0ce351e884f4bf958dbe3cf 100644 (file)
@@ -214,18 +214,11 @@ static int mxs_pinctrl_enable(struct pinctrl_dev *pctldev, unsigned selector,
        return 0;
 }
 
-static void mxs_pinctrl_disable(struct pinctrl_dev *pctldev,
-                               unsigned function, unsigned group)
-{
-       /* Nothing to do here */
-}
-
 static struct pinmux_ops mxs_pinmux_ops = {
        .get_functions_count = mxs_pinctrl_get_funcs_count,
        .get_function_name = mxs_pinctrl_get_func_name,
        .get_function_groups = mxs_pinctrl_get_func_groups,
        .enable = mxs_pinctrl_enable,
-       .disable = mxs_pinctrl_disable,
 };
 
 static int mxs_pinconf_get(struct pinctrl_dev *pctldev,