Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1221004 > unrolled thread

[PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

Started byBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
First post2015-09-08 19:10 +0200
Last post2015-09-09 04:30 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-09-08 19:10 +0200
    Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-09 02:50 +0200
      Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Kukjin Kim <kgene@kernel.org> - 2015-09-17 01:10 +0200
    Re: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs Viresh Kumar <viresh.kumar@linaro.org> - 2015-09-09 04:30 +0200

#1221004 — [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

FromBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Date2015-09-08 19:10 +0200
Subject[PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
Message-ID<q6uz7-26l-13@gated-at.bofh.it>
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

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

[toc] | [next] | [standalone]


#1221162

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2015-09-09 02:50 +0200
Message-ID<q6BKi-3RN-15@gated-at.bofh.it>
In reply to#1221004
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1226559

FromKukjin Kim <kgene@kernel.org>
Date2015-09-17 01:10 +0200
Message-ID<q9tZT-1VO-15@gated-at.bofh.it>
In reply to#1221162
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1221189

FromViresh Kumar <viresh.kumar@linaro.org>
Date2015-09-09 04:30 +0200
Message-ID<q6Dj4-6hq-17@gated-at.bofh.it>
In reply to#1221004
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web