Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 4/5] pinctrl: pinctrl-mxs: remove empty pinmux disable function

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


b29396 at freescale

May 14, 2012, 4:06 AM

Post #1 of 2 (23 views)
Permalink
[PATCH 4/5] pinctrl: pinctrl-mxs: remove empty pinmux disable function

From: Dong Aisheng <dong.aisheng [at] linaro>

Signed-off-by: Dong Aisheng <dong.aisheng [at] linaro>
---
drivers/pinctrl/pinctrl-mxs.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c
index 93cd959..e10eff7 100644
--- a/drivers/pinctrl/pinctrl-mxs.c
+++ b/drivers/pinctrl/pinctrl-mxs.c
@@ -203,18 +203,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,
--
1.7.0.4


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


linus.walleij at linaro

May 15, 2012, 12:48 AM

Post #2 of 2 (23 views)
Permalink
Re: [PATCH 4/5] pinctrl: pinctrl-mxs: remove empty pinmux disable function [In reply to]

On Mon, May 14, 2012 at 1:06 PM, Dong Aisheng <b29396 [at] freescale> wrote:

> From: Dong Aisheng <dong.aisheng [at] linaro>
>
> Signed-off-by: Dong Aisheng <dong.aisheng [at] linaro>
> ---
>  drivers/pinctrl/pinctrl-mxs.c |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)

Applied with Stephens ACK.

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.