linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
@ 2015-09-08 17:02 Bartlomiej Zolnierkiewicz
  2015-09-09  1:14 ` Rafael J. Wysocki
  2015-09-09  2:27 ` Viresh Kumar
  0 siblings, 2 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-08 17:02 UTC (permalink / raw)
  To: Viresh Kumar, Rafael J. Wysocki, Kukjin Kim, Krzysztof Kozlowski
  Cc: linux-samsung-soc, linux-pm, linux-kernel, b.zolnierkie

CONFIG_PM ifdefs are superfluous and can be removed.

Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 drivers/cpufreq/s5pv210-cpufreq.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
index 9e231f5..ef5282b 100644
--- a/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/drivers/cpufreq/s5pv210-cpufreq.c
@@ -576,10 +576,8 @@ static struct cpufreq_driver s5pv210_driver = {
 	.get		= cpufreq_generic_get,
 	.init		= s5pv210_cpu_init,
 	.name		= "s5pv210",
-#ifdef CONFIG_PM
 	.suspend	= cpufreq_generic_suspend,
 	.resume		= cpufreq_generic_suspend, /* We need to set SLEEP FREQ again */
-#endif
 };
 
 static struct notifier_block s5pv210_cpufreq_reboot_notifier = {
-- 
1.9.1


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

* Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
  2015-09-08 17:02 [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Bartlomiej Zolnierkiewicz
@ 2015-09-09  1:14 ` Rafael J. Wysocki
  2015-09-16 23:03   ` Kukjin Kim
  2015-09-09  2:27 ` Viresh Kumar
  1 sibling, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2015-09-09  1:14 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Viresh Kumar, Kukjin Kim, Krzysztof Kozlowski, linux-samsung-soc,
	linux-pm, linux-kernel

On Tuesday, September 08, 2015 07:02:12 PM Bartlomiej Zolnierkiewicz wrote:
> CONFIG_PM ifdefs are superfluous and can be removed.

I guess Kukjin can apply this one?

> Cc: Kukjin Kim <kgene@kernel.org>
> Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> ---
>  drivers/cpufreq/s5pv210-cpufreq.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
> index 9e231f5..ef5282b 100644
> --- a/drivers/cpufreq/s5pv210-cpufreq.c
> +++ b/drivers/cpufreq/s5pv210-cpufreq.c
> @@ -576,10 +576,8 @@ static struct cpufreq_driver s5pv210_driver = {
>  	.get		= cpufreq_generic_get,
>  	.init		= s5pv210_cpu_init,
>  	.name		= "s5pv210",
> -#ifdef CONFIG_PM
>  	.suspend	= cpufreq_generic_suspend,
>  	.resume		= cpufreq_generic_suspend, /* We need to set SLEEP FREQ again */
> -#endif
>  };
>  
>  static struct notifier_block s5pv210_cpufreq_reboot_notifier = {
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

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

* Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
  2015-09-08 17:02 [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Bartlomiej Zolnierkiewicz
  2015-09-09  1:14 ` Rafael J. Wysocki
@ 2015-09-09  2:27 ` Viresh Kumar
  1 sibling, 0 replies; 4+ messages in thread
From: Viresh Kumar @ 2015-09-09  2:27 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Rafael J. Wysocki, Kukjin Kim, Krzysztof Kozlowski,
	linux-samsung-soc, linux-pm, linux-kernel

On 08-09-15, 19:02, Bartlomiej Zolnierkiewicz wrote:
> CONFIG_PM ifdefs are superfluous and can be removed.
> 
> Cc: Kukjin Kim <kgene@kernel.org>
> Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> ---
>  drivers/cpufreq/s5pv210-cpufreq.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
> index 9e231f5..ef5282b 100644
> --- a/drivers/cpufreq/s5pv210-cpufreq.c
> +++ b/drivers/cpufreq/s5pv210-cpufreq.c
> @@ -576,10 +576,8 @@ static struct cpufreq_driver s5pv210_driver = {
>  	.get		= cpufreq_generic_get,
>  	.init		= s5pv210_cpu_init,
>  	.name		= "s5pv210",
> -#ifdef CONFIG_PM
>  	.suspend	= cpufreq_generic_suspend,
>  	.resume		= cpufreq_generic_suspend, /* We need to set SLEEP FREQ again */
> -#endif
>  };
>  
>  static struct notifier_block s5pv210_cpufreq_reboot_notifier = {

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

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

* Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
  2015-09-09  1:14 ` Rafael J. Wysocki
@ 2015-09-16 23:03   ` Kukjin Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2015-09-16 23:03 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Bartlomiej Zolnierkiewicz, Viresh Kumar, Kukjin Kim,
	Krzysztof Kozlowski, linux-samsung-soc, linux-pm, linux-kernel

On 09/09/15 10:14, Rafael J. Wysocki wrote:
> On Tuesday, September 08, 2015 07:02:12 PM Bartlomiej Zolnierkiewicz wrote:
>> CONFIG_PM ifdefs are superfluous and can be removed.
> 
> I guess Kukjin can apply this one?
> 
Applied, thanks.

- Kukjin

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

end of thread, other threads:[~2015-09-16 23:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 17:02 [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Bartlomiej Zolnierkiewicz
2015-09-09  1:14 ` Rafael J. Wysocki
2015-09-16 23:03   ` Kukjin Kim
2015-09-09  2:27 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).