All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM
@ 2013-07-15  8:14 Jean-Francois Moine
  2013-07-15 14:51 ` Tony Lindgren
  2013-07-22 21:01 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Francois Moine @ 2013-07-15  8:14 UTC (permalink / raw)
  To: Grant Likely, Rob Herring, Linus Walleij, Tony Lindgren,
	Haojian Zhuang, linux-kernel

This warning has been introduced by the commit
 0f9bc4bcdf4f pinctrl: single: adopt pinctrl sleep mode management

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
 drivers/pinctrl/pinctrl-single.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 6866548..7323cca 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1483,6 +1483,7 @@ static int pcs_add_gpio_func(struct device_node *node, struct pcs_device *pcs)
 	return ret;
 }
 
+#ifdef CONFIG_PM
 static int pinctrl_single_suspend(struct platform_device *pdev,
 					pm_message_t state)
 {
@@ -1505,6 +1506,7 @@ static int pinctrl_single_resume(struct platform_device *pdev)
 
 	return pinctrl_force_default(pcs->pctl);
 }
+#endif
 
 static int pcs_probe(struct platform_device *pdev)
 {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM
  2013-07-15  8:14 [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM Jean-Francois Moine
@ 2013-07-15 14:51 ` Tony Lindgren
  2013-07-22 21:01 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2013-07-15 14:51 UTC (permalink / raw)
  To: Jean-Francois Moine
  Cc: Grant Likely, Rob Herring, Linus Walleij, Haojian Zhuang, linux-kernel

* Jean-Francois Moine <moinejf@free.fr> [130715 01:19]:
> This warning has been introduced by the commit
>  0f9bc4bcdf4f pinctrl: single: adopt pinctrl sleep mode management
> 
> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>

Acked-by: Tony Lindgren <tony@atomide.com>

> ---
>  drivers/pinctrl/pinctrl-single.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index 6866548..7323cca 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1483,6 +1483,7 @@ static int pcs_add_gpio_func(struct device_node *node, struct pcs_device *pcs)
>  	return ret;
>  }
>  
> +#ifdef CONFIG_PM
>  static int pinctrl_single_suspend(struct platform_device *pdev,
>  					pm_message_t state)
>  {
> @@ -1505,6 +1506,7 @@ static int pinctrl_single_resume(struct platform_device *pdev)
>  
>  	return pinctrl_force_default(pcs->pctl);
>  }
> +#endif
>  
>  static int pcs_probe(struct platform_device *pdev)
>  {
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM
  2013-07-15  8:14 [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM Jean-Francois Moine
  2013-07-15 14:51 ` Tony Lindgren
@ 2013-07-22 21:01 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2013-07-22 21:01 UTC (permalink / raw)
  To: Jean-Francois Moine
  Cc: Grant Likely, Rob Herring, Tony Lindgren, Haojian Zhuang, linux-kernel

On Mon, Jul 15, 2013 at 10:14 AM, Jean-Francois Moine <moinejf@free.fr> wrote:

> This warning has been introduced by the commit
>  0f9bc4bcdf4f pinctrl: single: adopt pinctrl sleep mode management
>
> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>

Patch applied with Tony's ACK.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-22 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15  8:14 [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM Jean-Francois Moine
2013-07-15 14:51 ` Tony Lindgren
2013-07-22 21:01 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.