aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2014-07-12 21:46:48 -0700
committerOlof Johansson <olof@lixom.net>2014-07-12 21:46:48 -0700
commit84fb69f7dc769e84bfa939a8677ba793aa30d092 (patch)
treeecd78fd082a3581c014e21f8b4c6d2b67ffa776d /arch/arm/mach-shmobile
parentMerge tag 'renesas-soc3-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc (diff)
parentARM: shmobile: Remove opps table check for cpufreq (diff)
downloadlinux-dev-84fb69f7dc769e84bfa939a8677ba793aa30d092.tar.xz
linux-dev-84fb69f7dc769e84bfa939a8677ba793aa30d092.zip
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/cpufreq.c16
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;
}