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


Groups > linux.kernel > #1221004

[PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
Date 2015-09-08 19:10 +0200
Message-ID <q6uz7-26l-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web