Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84fb69f7 authored by Olof Johansson's avatar Olof Johansson
Browse files

Merge tag 'renesas-cpufreq2-for-v3.17' of...

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: default avatarOlof Johansson <olof@lixom.net>
parents 65d3977b e423d12c
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
@@ -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);

	return 0;
}