diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-22 16:58:44 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-25 16:18:23 +0200 |
commit | a399dc9fc5005321cebee6589d6bca780ed99c18 (patch) | |
tree | ddb68f0ec963e392f430bd0fb960b8dbba394d3a /arch/arm/mach-shmobile/common.h | |
parent | 014400c127be352a0a129aaa8a9ac870a310c76c (diff) | |
download | linux-a399dc9fc5005321cebee6589d6bca780ed99c18.tar.gz linux-a399dc9fc5005321cebee6589d6bca780ed99c18.tar.bz2 linux-a399dc9fc5005321cebee6589d6bca780ed99c18.zip |
cpufreq: shmobile: Use generic platdev driver
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform
device now, reuse that and remove similar code from platform code.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-shmobile/common.h')
-rw-r--r-- | arch/arm/mach-shmobile/common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 5464b7a75e30..3b562d87826d 100644 --- a/arch/arm/mach-shmobile/common.h +++ b/arch/arm/mach-shmobile/common.h @@ -25,16 +25,9 @@ static inline int shmobile_suspend_init(void) { return 0; } static inline void shmobile_smp_apmu_suspend_init(void) { } #endif -#ifdef CONFIG_CPU_FREQ -int shmobile_cpufreq_init(void); -#else -static inline int shmobile_cpufreq_init(void) { return 0; } -#endif - static inline void __init shmobile_init_late(void) { shmobile_suspend_init(); - shmobile_cpufreq_init(); } #endif /* __ARCH_MACH_COMMON_H */ |