aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-03-30 04:15:27 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-08 19:18:42 -0400
commitea3b05e62f097a604f4dbe7d3ab785a148b61e93 (patch)
tree36623b5bc18de771e1d251fb16314584e2d01145
parentf56aad1d98f1c0c6df513abcd275a4d914adc1ef (diff)
ARM: exynos: exynos-cpufreq platform device isn't supported anymore
The driver is removed long back and we don't support this device anymore. Stop adding it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--arch/arm/mach-exynos/exynos.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index bbf51a46f772..4dfce1069406 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -232,12 +232,8 @@ static void __init exynos_cpufreq_init(void)
232 const struct of_device_id *match; 232 const struct of_device_id *match;
233 233
234 match = of_match_node(exynos_cpufreq_matches, root); 234 match = of_match_node(exynos_cpufreq_matches, root);
235 if (!match) { 235 if (match)
236 platform_device_register_simple("exynos-cpufreq", -1, NULL, 0); 236 platform_device_register_simple(match->data, -1, NULL, 0);
237 return;
238 }
239
240 platform_device_register_simple(match->data, -1, NULL, 0);
241} 237}
242 238
243static void __init exynos_dt_machine_init(void) 239static void __init exynos_dt_machine_init(void)