diff options
author | Olof Johansson <olof@lixom.net> | 2014-07-13 08:46:48 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-13 08:46:48 +0400 |
commit | 84fb69f7dc769e84bfa939a8677ba793aa30d092 (patch) | |
tree | ecd78fd082a3581c014e21f8b4c6d2b67ffa776d | |
parent | 65d3977b6593d5506d711acb332d4bd09c986201 (diff) | |
parent | e423d12cbcb9576785e891617888f627f1f57bf4 (diff) | |
download | linux-84fb69f7dc769e84bfa939a8677ba793aa30d092.tar.xz |
Merge tag 'renesas-cpufreq2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
Merge "Second Round of Renesas ARM Based SoC CPUFreq Updates for v3.17" from
Simon Horman:
- Remove opps table check for cpufreq as this is already handled
by the driver
* tag 'renesas-cpufreq2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: shmobile: Remove opps table check for cpufreq
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-shmobile/cpufreq.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-shmobile/cpufreq.c b/arch/arm/mach-shmobile/cpufreq.c index e2c868fc41cf..8a24b2be46ae 100644 --- a/arch/arm/mach-shmobile/cpufreq.c +++ b/arch/arm/mach-shmobile/cpufreq.c @@ -8,24 +8,10 @@ * for more details. */ -#include <linux/of.h> -#include <linux/of_device.h> #include <linux/platform_device.h> int __init shmobile_cpufreq_init(void) { - struct device_node *np; - - np = of_cpu_device_node_get(0); - if (np == NULL) { - pr_err("failed to find cpu0 node\n"); - return 0; - } - - if (of_get_property(np, "operating-points", NULL)) - platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0); - - of_node_put(np); - + platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0); return 0; } |