diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-09-09 10:28:03 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-10-03 09:37:54 -0400 |
commit | bbcf071969b20f356877c8067986be0a2dcaa2aa (patch) | |
tree | 56c887ddf156924bcf86716690f51080ebdbfc21 /arch/arm/mach-imx | |
parent | 0bf18f19be4d26545d7aa3114091cffe556572be (diff) |
cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'
The naming convention of this driver was always under the scanner, people
complained that it should have a more generic name than cpu0, as it manages all
CPUs that are sharing clock lines.
Also, in future it will be modified to support any number of clusters with
separate clock/voltage lines.
Lets rename it to 'cpufreq_dt' from 'cpufreq_cpu0'.
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/imx27-dt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx51.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index 080e66c6a1d0..dc8f1a6f45f2 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | static void __init imx27_dt_init(void) | 21 | static void __init imx27_dt_init(void) |
22 | { | 22 | { |
23 | struct platform_device_info devinfo = { .name = "cpufreq-cpu0", }; | 23 | struct platform_device_info devinfo = { .name = "cpufreq-dt", }; |
24 | 24 | ||
25 | mxc_arch_reset_init_dt(); | 25 | mxc_arch_reset_init_dt(); |
26 | 26 | ||
diff --git a/arch/arm/mach-imx/mach-imx51.c b/arch/arm/mach-imx/mach-imx51.c index c77deb3f0893..2c5fcaf8675b 100644 --- a/arch/arm/mach-imx/mach-imx51.c +++ b/arch/arm/mach-imx/mach-imx51.c | |||
@@ -51,7 +51,7 @@ static void __init imx51_ipu_mipi_setup(void) | |||
51 | 51 | ||
52 | static void __init imx51_dt_init(void) | 52 | static void __init imx51_dt_init(void) |
53 | { | 53 | { |
54 | struct platform_device_info devinfo = { .name = "cpufreq-cpu0", }; | 54 | struct platform_device_info devinfo = { .name = "cpufreq-dt", }; |
55 | 55 | ||
56 | mxc_arch_reset_init_dt(); | 56 | mxc_arch_reset_init_dt(); |
57 | imx51_ipu_mipi_setup(); | 57 | imx51_ipu_mipi_setup(); |