From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757370AbcC2PWt (ORCPT ); Tue, 29 Mar 2016 11:22:49 -0400 Received: from mail-vk0-f42.google.com ([209.85.213.42]:34065 "EHLO mail-vk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757337AbcC2PWr (ORCPT ); Tue, 29 Mar 2016 11:22:47 -0400 MIME-Version: 1.0 In-Reply-To: <3810049.oQlCXiQ5bk@wuerfel> References: <81a8da75a0e7783e2b47f9e04297f167e8134afe.1459233524.git.viresh.kumar@linaro.org> <3810049.oQlCXiQ5bk@wuerfel> Date: Tue, 29 Mar 2016 20:52:46 +0530 Message-ID: Subject: Re: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver From: Viresh Kumar To: Arnd Bergmann Cc: "linux-arm-kernel@lists.infradead.org" , Rafael Wysocki , Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , Kukjin Kim , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Feng Xiao , Matthew McClintock , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , linux-samsung-soc , Linaro Kernel Mailman List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29 March 2016 at 20:34, Arnd Bergmann 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@linaro.org (Viresh Kumar) Date: Tue, 29 Mar 2016 20:52:46 +0530 Subject: [PATCH V2 3/3] cpufreq: exynos: Use generic platdev driver In-Reply-To: <3810049.oQlCXiQ5bk@wuerfel> References: <81a8da75a0e7783e2b47f9e04297f167e8134afe.1459233524.git.viresh.kumar@linaro.org> <3810049.oQlCXiQ5bk@wuerfel> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 29 March 2016 at 20:34, Arnd Bergmann 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.