From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754297AbcBVMnb (ORCPT ); Mon, 22 Feb 2016 07:43:31 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:46637 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809AbcBVMna (ORCPT ); Mon, 22 Feb 2016 07:43:30 -0500 Subject: Re: [PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus To: Kefeng Wang , , References: <1453868872-26300-2-git-send-email-wangkefeng.wang@huawei.com> <1453881180-12296-1-git-send-email-wangkefeng.wang@huawei.com> CC: Heiko Stuebner , Catalin Marinas , Masahiro Yamada , , Roland Stigge , Russell King , Viresh Kumar , Lee Jones , Kukjin Kim , Ray Jui , Jason Cooper , Arnd Bergmann , "Hauke Mehrtens" , Haojian Zhuang , "Rob Herring" , Krzysztof Halasa , "Santosh Shilimkar" , Shiraz Hashim , Tony Prisk , "Shawn Guo" , Alexandre Belloni From: Nicolas Ferre Organization: atmel Message-ID: <56CB027B.6000703@atmel.com> Date: Mon, 22 Feb 2016 13:43:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1453881180-12296-1-git-send-email-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 27/01/2016 08:53, Kefeng Wang a écrit : > diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c > index c1a7c6c..1904bc7 100644 > --- a/arch/arm/mach-at91/at91rm9200.c > +++ b/arch/arm/mach-at91/at91rm9200.c > @@ -31,7 +31,7 @@ static void __init at91rm9200_dt_device_init(void) > if (soc != NULL) > soc_dev = soc_device_to_device(soc); > > - of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); > + of_platform_default_populate(NULL, NULL, soc_dev); > > arm_pm_idle = at91rm9200_idle; > at91rm9200_pm_init(); > diff --git a/arch/arm/mach-at91/at91sam9.c b/arch/arm/mach-at91/at91sam9.c > index 7eb64f7..d495620 100644 > --- a/arch/arm/mach-at91/at91sam9.c > +++ b/arch/arm/mach-at91/at91sam9.c > @@ -61,7 +61,7 @@ static void __init at91sam9_common_init(void) > if (soc != NULL) > soc_dev = soc_device_to_device(soc); > > - of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); > + of_platform_default_populate(NULL, NULL, soc_dev); > > arm_pm_idle = at91sam9_idle; > } > diff --git a/arch/arm/mach-at91/sama5.c b/arch/arm/mach-at91/sama5.c > index d9cf679..6db395e 100644 > --- a/arch/arm/mach-at91/sama5.c > +++ b/arch/arm/mach-at91/sama5.c > @@ -50,7 +50,7 @@ static void __init sama5_dt_device_init(void) > if (soc != NULL) > soc_dev = soc_device_to_device(soc); > > - of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); > + of_platform_default_populate(NULL, NULL, soc_dev); > at91sam9x5_pm_init(); > } For AT91: Acked-by: Nicolas Ferre Thanks, bye. -- Nicolas Ferre