[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <56FB13DC.2090902@samsung.com>
Date: Wed, 30 Mar 2016 08:46:36 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Viresh Kumar <viresh.kumar@...aro.org>,
Arnd Bergmann <arnd@...db.de>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Rafael Wysocki <rjw@...ysocki.net>,
Arnd Bergmann <arnd.bergmann@...aro.org>,
Kukjin Kim <kgene@...nel.org>,
Kukjin Kim <kgene.kim@...sung.com>,
Heiko Stübner <heiko@...ech.de>,
Feng Xiao <xf@...k-chips.com>,
Matthew McClintock <mmcclint@...eaurora.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-samsung-soc <linux-samsung-soc@...r.kernel.org>,
Linaro Kernel Mailman List <linaro-kernel@...ts.linaro.org>
Subject: Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver
On 30.03.2016 00:22, Viresh Kumar wrote:
> On 29 March 2016 at 20:34, Arnd Bergmann <arnd@...db.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
Powered by blists - more mailing lists