[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m38u2lq9um.fsf@t19.piap.pl>
Date: Tue, 16 Feb 2016 10:32:17 +0100
From: khalasa@...p.pl (Krzysztof HaĆasa)
To: Kefeng Wang <wangkefeng.wang@...wei.com>
Cc: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Arnd Bergmann <arnd@...db.de>, Shawn Guo <shawnguo@...nel.org>,
"Russell King" <linux@....linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Hauke Mehrtens <hauke@...ke-m.de>,
Rob Herring <robh+dt@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
<guohanjun@...wei.com>, Nicolas Ferre <nicolas.ferre@...el.com>,
Ray Jui <rjui@...adcom.com>, Lee Jones <lee@...nel.org>,
Kukjin Kim <kgene@...nel.org>, Rob Herring <robh@...nel.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
Roland Stigge <stigge@...com.de>,
Jason Cooper <jason@...edaemon.net>,
Haojian Zhuang <haojian.zhuang@...il.com>,
"Heiko Stuebner" <heiko@...ech.de>,
Viresh Kumar <vireshk@...nel.org>,
Shiraz Hashim <shiraz.linux.kernel@...il.com>,
Tony Prisk <linux@...sktech.co.nz>
Subject: Re: [PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus
Kefeng Wang <wangkefeng.wang@...wei.com> writes:
> Use helper of_platform_default_populate() in linux/of_platform
> when possible, instead of calling of_platform_populate() with
> the default match table.
> --- a/arch/arm/mach-cns3xxx/core.c
> +++ b/arch/arm/mach-cns3xxx/core.c
> @@ -395,8 +395,7 @@ static void __init cns3xxx_init(void)
>
> pm_power_off = cns3xxx_power_off;
>
> - of_platform_populate(NULL, of_default_bus_match_table,
> - cns3xxx_auxdata, NULL);
> + of_platform_default_populate(NULL, cns3xxx_auxdata, NULL);
> }
>
Doesn't look wrong :-)
Acked-by: Krzysztof Halasa <khalasa@...p.pl>
--
Krzysztof Halasa
Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
Powered by blists - more mailing lists