Thread (4 messages) 4 messages, 3 authors, 2016-03-29

[PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver

flat view

From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2016-03-29 15:22:49
Also in: linux-pm, linux-samsung-soc, lkml

On 29 March 2016 at 20:34, Arnd Bergmann [off-list ref] wrote:
On Tuesday 29 March 2016 12:09:49 Viresh Kumar wrote:
quoted
-static void __init exynos_cpufreq_init(void)
-{
-       struct device_node *root = of_find_node_by_path("/");
-       const struct of_device_id *match;
-
-       match = of_match_node(exynos_cpufreq_matches, root);
-       if (!match) {
-               platform_device_register_simple("exynos-cpufreq", -1, NULL, 0);
-               return;
-       }
-
-       platform_device_register_simple(match->data, -1, NULL, 0);
-}
How is the "exynos-cpufreq" case handled now? Is that no longer used now?
I assume the patch is correct based on Krzysztof's review, but it might be
good to explain this better.
That's stale code, the driver got removed some time back.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help