public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: tegra20: remove superfluous CONFIG_PM ifdefs
@ 2015-09-08 17:13 Bartlomiej Zolnierkiewicz
  2015-09-09  1:13 ` Rafael J. Wysocki
  2015-09-09  2:27 ` Viresh Kumar
  0 siblings, 2 replies; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-08 17:13 UTC (permalink / raw)
  To: Viresh Kumar, Rafael J. Wysocki, Stephen Warren, Thierry Reding,
	Alexandre Courbot
  Cc: linux-tegra, linux-pm, linux-kernel, b.zolnierkie

CONFIG_PM ifdefs are superfluous and can be removed.

Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 drivers/cpufreq/tegra20-cpufreq.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/cpufreq/tegra20-cpufreq.c b/drivers/cpufreq/tegra20-cpufreq.c
index 8084c7f..2bd6284 100644
--- a/drivers/cpufreq/tegra20-cpufreq.c
+++ b/drivers/cpufreq/tegra20-cpufreq.c
@@ -175,9 +175,7 @@ static struct cpufreq_driver tegra_cpufreq_driver = {
 	.exit			= tegra_cpu_exit,
 	.name			= "tegra",
 	.attr			= cpufreq_generic_attr,
-#ifdef CONFIG_PM
 	.suspend		= cpufreq_generic_suspend,
-#endif
 };
 
 static int __init tegra_cpufreq_init(void)
-- 
1.9.1


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

end of thread, other threads:[~2015-10-05 20:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 17:13 [PATCH] cpufreq: tegra20: remove superfluous CONFIG_PM ifdefs Bartlomiej Zolnierkiewicz
2015-09-09  1:13 ` Rafael J. Wysocki
2015-09-09 10:36   ` Bartlomiej Zolnierkiewicz
2015-09-09 20:14     ` Rafael J. Wysocki
2015-10-05 20:46       ` Rafael J. Wysocki
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