]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 16 Sep 2015 23:04:51 +0000 (08:04 +0900)
committerKukjin Kim <kgene@kernel.org>
Fri, 23 Oct 2015 19:34:50 +0000 (04:34 +0900)
CONFIG_PM ifdefs are superfluous and can be removed.

Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
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>
drivers/cpufreq/s5pv210-cpufreq.c

index 9e231f52150c404ebd92e6d74ea6a24b5642576a..ef5282b2c7c641b915322702cfe82e530db9a7b9 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 = {