From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980AbcEQIBc (ORCPT ); Tue, 17 May 2016 04:01:32 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:39853 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753451AbcEQIBb (ORCPT ); Tue, 17 May 2016 04:01:31 -0400 Subject: Re: [PATCH v4 12/18] arm: use of_platform_default_populate() to populate To: Kefeng Wang , , , References: <1463054775-18170-1-git-send-email-wangkefeng.wang@huawei.com> <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com> CC: , , , , , , , , Nicolas Ferre , Krzysztof Halasa , Roland Stigge , Jason Cooper , Ray Jui , Viresh Kumar , Stephen Warren , Rob Herring , Michal Simek From: Sekhar Nori Message-ID: <573ACF79.1090600@ti.com> Date: Tue, 17 May 2016 13:29:53 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 12 May 2016 05:36 PM, Kefeng Wang wrote: > Use helper of_platform_default_populate() in linux/of_platform > when possible, instead of calling of_platform_populate() with > the default match table. > > Cc: Nicolas Ferre > Cc: Krzysztof Halasa > Cc: Sekhar Nori > Cc: Shawn Guo > Cc: Russell King > Cc: Roland Stigge > Cc: Jason Cooper > Cc: Ray Jui > Cc: Viresh Kumar > Cc: Stephen Warren > Cc: Rob Herring > Cc: Michal Simek > Signed-off-by: Kefeng Wang > --- > diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c > index c4b5808..da46dc7 100644 > --- a/arch/arm/mach-davinci/da8xx-dt.c > +++ b/arch/arm/mach-davinci/da8xx-dt.c > @@ -54,8 +54,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { > > static void __init da850_init_machine(void) > { > - of_platform_populate(NULL, of_default_bus_match_table, > - da850_auxdata_lookup, NULL); > + of_platform_default_populate(NULL, da850_auxdata_lookup, NULL); > > } The mach-davinci change is already queued for v4.7 Thanks, Sekhar From mboxrd@z Thu Jan 1 00:00:00 1970 From: nsekhar@ti.com (Sekhar Nori) Date: Tue, 17 May 2016 13:29:53 +0530 Subject: [PATCH v4 12/18] arm: use of_platform_default_populate() to populate In-Reply-To: <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com> References: <1463054775-18170-1-git-send-email-wangkefeng.wang@huawei.com> <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com> Message-ID: <573ACF79.1090600@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 12 May 2016 05:36 PM, Kefeng Wang wrote: > Use helper of_platform_default_populate() in linux/of_platform > when possible, instead of calling of_platform_populate() with > the default match table. > > Cc: Nicolas Ferre > Cc: Krzysztof Halasa > Cc: Sekhar Nori > Cc: Shawn Guo > Cc: Russell King > Cc: Roland Stigge > Cc: Jason Cooper > Cc: Ray Jui > Cc: Viresh Kumar > Cc: Stephen Warren > Cc: Rob Herring > Cc: Michal Simek > Signed-off-by: Kefeng Wang > --- > diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c > index c4b5808..da46dc7 100644 > --- a/arch/arm/mach-davinci/da8xx-dt.c > +++ b/arch/arm/mach-davinci/da8xx-dt.c > @@ -54,8 +54,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { > > static void __init da850_init_machine(void) > { > - of_platform_populate(NULL, of_default_bus_match_table, > - da850_auxdata_lookup, NULL); > + of_platform_default_populate(NULL, da850_auxdata_lookup, NULL); > > } The mach-davinci change is already queued for v4.7 Thanks, Sekhar