diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-22 14:28:44 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-25 17:18:23 +0300 |
commit | a399dc9fc5005321cebee6589d6bca780ed99c18 (patch) | |
tree | ddb68f0ec963e392f430bd0fb960b8dbba394d3a /arch/arm/mach-shmobile/cpufreq.c | |
parent | 014400c127be352a0a129aaa8a9ac870a310c76c (diff) | |
download | linux-a399dc9fc5005321cebee6589d6bca780ed99c18.tar.xz |
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/cpufreq.c')
-rw-r--r-- | arch/arm/mach-shmobile/cpufreq.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-shmobile/cpufreq.c b/arch/arm/mach-shmobile/cpufreq.c deleted file mode 100644 index 634d701c56a7..000000000000 --- a/arch/arm/mach-shmobile/cpufreq.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * CPUFreq support code for SH-Mobile ARM - * - * Copyright (C) 2014 Gaku Inami - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#include <linux/platform_device.h> - -#include "common.h" - -int __init shmobile_cpufreq_init(void) -{ - platform_device_register_simple("cpufreq-dt", -1, NULL, 0); - return 0; -} |