[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1336993600-30065-3-git-send-email-b29396@freescale.com>
Date: Mon, 14 May 2012 19:06:38 +0800
From: Dong Aisheng <b29396@...escale.com>
To: <linux-kernel@...r.kernel.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linus.walleij@...ricsson.com>, <swarren@...dotorg.org>,
<haojian.zhuang@...vell.com>, <shawn.guo@...escale.com>
Subject: [PATCH 3/5] pinctrl: pinctrl-imx: remove empty pinmux disable function
From: Dong Aisheng <dong.aisheng@...aro.org>
Signed-off-by: Dong Aisheng <dong.aisheng@...aro.org>
---
drivers/pinctrl/pinctrl-imx.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
index 8faf613..f6e7c67 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,
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists