linux-pm.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

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).