From: nsekhar@ti.com (Sekhar Nori)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 12/18] arm: use of_platform_default_populate() to populate
Date: Tue, 17 May 2016 13:29:53 +0530 [thread overview]
Message-ID: <573ACF79.1090600@ti.com> (raw)
In-Reply-To: <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com>
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 <nicolas.ferre@atmel.com>
> Cc: Krzysztof Halasa <khalasa@piap.pl>
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Roland Stigge <stigge@antcom.de>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Ray Jui <rjui@broadcom.com>
> Cc: Viresh Kumar <vireshk@kernel.org>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
> 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
WARNING: multiple messages have this Message-ID (diff)
From: Sekhar Nori <nsekhar@ti.com>
To: Kefeng Wang <wangkefeng.wang@huawei.com>, <robh+dt@kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Cc: <arnd@arndb.de>, <shawnguo@kernel.org>, <catalin.marinas@arm.com>,
<grant.likely@linaro.org>, <olof@lixom.net>,
<linux@arm.linux.org.uk>, <yamada.masahiro@socionext.com>,
<guohanjun@huawei.com>, Nicolas Ferre <nicolas.ferre@atmel.com>,
Krzysztof Halasa <khalasa@piap.pl>,
Roland Stigge <stigge@antcom.de>,
Jason Cooper <jason@lakedaemon.net>, Ray Jui <rjui@broadcom.com>,
Viresh Kumar <vireshk@kernel.org>,
Stephen Warren <swarren@wwwdotorg.org>,
Rob Herring <robh@kernel.org>,
Michal Simek <michal.simek@xilinx.com>
Subject: Re: [PATCH v4 12/18] arm: use of_platform_default_populate() to populate
Date: Tue, 17 May 2016 13:29:53 +0530 [thread overview]
Message-ID: <573ACF79.1090600@ti.com> (raw)
In-Reply-To: <1463054775-18170-13-git-send-email-wangkefeng.wang@huawei.com>
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 <nicolas.ferre@atmel.com>
> Cc: Krzysztof Halasa <khalasa@piap.pl>
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Roland Stigge <stigge@antcom.de>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Ray Jui <rjui@broadcom.com>
> Cc: Viresh Kumar <vireshk@kernel.org>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
> 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
next prev parent reply other threads:[~2016-05-17 7:59 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-12 12:05 [PATCH v4 00/18] Cleanup for populate default bus Kefeng Wang
2016-05-12 12:05 ` Kefeng Wang
2016-05-12 12:05 ` [PATCH v4 01/18] of/platform: Add common method to " Kefeng Wang
2016-05-12 12:05 ` Kefeng Wang
2016-05-25 14:46 ` Rob Herring
2016-05-25 14:46 ` Rob Herring
2016-05-26 7:43 ` Kefeng Wang
2016-05-26 7:43 ` Kefeng Wang
2016-05-12 12:05 ` [PATCH v4 02/18] arc: Remove unnecessary of_platform_populate with default match table Kefeng Wang
2016-05-12 12:05 ` Kefeng Wang
2016-05-13 3:03 ` Vineet Gupta
2016-05-13 3:03 ` Vineet Gupta
2016-05-12 12:06 ` [PATCH v4 03/18] arm: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-13 2:58 ` Viresh Kumar
2016-05-13 2:58 ` Viresh Kumar
2016-05-12 12:06 ` [PATCH v4 04/18] arm64: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 05/18] c6x: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 06/18] cris: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-16 8:00 ` Jesper Nilsson
2016-05-16 8:00 ` Jesper Nilsson
2016-05-12 12:06 ` [PATCH v4 07/18] metag: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 08/18] mips: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 09/18] nios2: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 10/18] sh: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 18:38 ` Rich Felker
2016-05-12 18:38 ` Rich Felker
2016-05-13 1:44 ` Kefeng Wang
2016-05-13 1:44 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 11/18] xtensa: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 12/18] arm: use of_platform_default_populate() to populate Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-13 2:59 ` Viresh Kumar
2016-05-13 2:59 ` Viresh Kumar
2016-05-17 7:59 ` Sekhar Nori [this message]
2016-05-17 7:59 ` Sekhar Nori
2016-05-17 9:14 ` Nicolas Ferre
2016-05-17 9:14 ` Nicolas Ferre
2016-05-12 12:06 ` [PATCH v4 13/18] mips: use of_platform_default_populate() to populate default bus Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 14/18] bus: imx-weim: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 15/18] bus: uniphier-system-bus: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 16/18] memory: omap-gpmc: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 17/18] of: unittest: " Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
2016-05-12 12:06 ` [PATCH v4 18/18] Revert "of/platform: export of_default_bus_match_table" Kefeng Wang
2016-05-12 12:06 ` Kefeng Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573ACF79.1090600@ti.com \
--to=nsekhar@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.