Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1366813

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

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver
Date 2016-03-30 01:50 +0200
Message-ID <ribyy-57X-33@gated-at.bofh.it> (permalink)
References <rhVDs-2f5-3@gated-at.bofh.it> <rhVDs-2f5-7@gated-at.bofh.it> <ri3rl-82W-21@gated-at.bofh.it> <ri3KH-8bX-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 30.03.2016 00:22, Viresh Kumar wrote:
> On 29 March 2016 at 20:34, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Tuesday 29 March 2016 12:09:49 Viresh Kumar wrote:
>>> -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.

Yeah, that's old driver, no longer existing. It makes sense to split the
patch - first remove the stale exynos-cpufreq and then move cpufreq-dt.
This would help avoid confusion when grepping through the history.

Best regards,
Krzysztof

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver Viresh Kumar <viresh.kumar@linaro.org> - 2016-03-29 08:50 +0200
  Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver Arnd Bergmann <arnd@arndb.de> - 2016-03-29 17:10 +0200
    Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver Viresh Kumar <viresh.kumar@linaro.org> - 2016-03-29 17:30 +0200
      Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-30 01:50 +0200

csiph-web