cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 16 Sep 2015 23:04:51 +0000 (08:04 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 25 Jan 2016 06:13:53 +0000 (15:13 +0900)
CONFIG_PM ifdefs are superfluous and can be removed.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/cpufreq/s5pv210-cpufreq.c

index 051a8a8224cd7ade8b846e62fc27d0733ba8f73b..a145b319d1717a996fb193dc3f382a22030d5327 100644 (file)
@@ -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 = {