[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <573ACF79.1090600@ti.com>
Date: Tue, 17 May 2016 13:29:53 +0530
From: Sekhar Nori <nsekhar@...com>
To: Kefeng Wang <wangkefeng.wang@...wei.com>, <robh+dt@...nel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <arnd@...db.de>, <shawnguo@...nel.org>, <catalin.marinas@....com>,
<grant.likely@...aro.org>, <olof@...om.net>,
<linux@....linux.org.uk>, <yamada.masahiro@...ionext.com>,
<guohanjun@...wei.com>, Nicolas Ferre <nicolas.ferre@...el.com>,
Krzysztof Halasa <khalasa@...p.pl>,
Roland Stigge <stigge@...com.de>,
Jason Cooper <jason@...edaemon.net>,
Ray Jui <rjui@...adcom.com>, Viresh Kumar <vireshk@...nel.org>,
Stephen Warren <swarren@...dotorg.org>,
Rob Herring <robh@...nel.org>,
Michal Simek <michal.simek@...inx.com>
Subject: Re: [PATCH v4 12/18] arm: use of_platform_default_populate() to
populate
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@...el.com>
> Cc: Krzysztof Halasa <khalasa@...p.pl>
> Cc: Sekhar Nori <nsekhar@...com>
> Cc: Shawn Guo <shawnguo@...nel.org>
> Cc: Russell King <linux@....linux.org.uk>
> Cc: Roland Stigge <stigge@...com.de>
> Cc: Jason Cooper <jason@...edaemon.net>
> Cc: Ray Jui <rjui@...adcom.com>
> Cc: Viresh Kumar <vireshk@...nel.org>
> Cc: Stephen Warren <swarren@...dotorg.org>
> Cc: Rob Herring <robh@...nel.org>
> Cc: Michal Simek <michal.simek@...inx.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@...wei.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
Powered by blists - more mailing lists