summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-imx.c
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2012-05-14 13:06:38 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-05-15 09:46:41 +0200
commit273f0c349e30f1d20bf04a2779235a8a312f71d2 (patch)
tree4b5a93be149e84981e17352917d6236aa1f2d22c /drivers/pinctrl/pinctrl-imx.c
parentpinctrl: make pinmux disable function optional (diff)
downloadlinux-273f0c349e30f1d20bf04a2779235a8a312f71d2.tar.xz
linux-273f0c349e30f1d20bf04a2779235a8a312f71d2.zip
pinctrl: pinctrl-imx: 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-imx.c')
-rw-r--r--drivers/pinctrl/pinctrl-imx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
index 8faf613ff1b2..f6e7c670906c 100644
--- a/drivers/pinctrl/pinctrl-imx.c
+++ b/drivers/pinctrl/pinctrl-imx.c
@@ -269,12 +269,6 @@ static int imx_pmx_enable(struct pinctrl_dev *pctldev, unsigned selector,
return 0;
}
-static void imx_pmx_disable(struct pinctrl_dev *pctldev, unsigned func_selector,
- unsigned group_selector)
-{
- /* nothing to do here */
-}
-
static int imx_pmx_get_funcs_count(struct pinctrl_dev *pctldev)
{
struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev);
@@ -310,7 +304,6 @@ static struct pinmux_ops imx_pmx_ops = {
.get_function_name = imx_pmx_get_func_name,
.get_function_groups = imx_pmx_get_groups,
.enable = imx_pmx_enable,
- .disable = imx_pmx_disable,
};
static int imx_pinconf_get(struct pinctrl_dev *pctldev,