From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754703AbcA0LfG (ORCPT ); Wed, 27 Jan 2016 06:35:06 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:7684 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754237AbcA0LfB (ORCPT ); Wed, 27 Jan 2016 06:35:01 -0500 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Wed, 27 Jan 2016 11:34:59 +0000 Date: Wed, 27 Jan 2016 11:34:58 +0000 From: James Hogan To: Kefeng Wang CC: , , Arnd Bergmann , Shawn Guo , Russell King , Catalin Marinas , "Hauke Mehrtens" , Rob Herring , "Masahiro Yamada" , , Subject: Re: [PATCH 06/15] metag: use of_platform_default_populate() to populate default bus Message-ID: <20160127113458.GA20777@jhogan-linux.le.imgtec.org> References: <1453868872-26300-1-git-send-email-wangkefeng.wang@huawei.com> <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: 56f439c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 27, 2016 at 12:27:43PM +0800, 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. >=20 > Cc: James Hogan Acked-by: James Hogan Cheers James > Signed-off-by: Kefeng Wang > --- > arch/metag/kernel/setup.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c > index 31cf53d..c88f937 100644 > --- a/arch/metag/kernel/setup.c > +++ b/arch/metag/kernel/setup.c > @@ -415,8 +415,7 @@ static int __init customize_machine(void) > if (machine_desc->init_machine) > machine_desc->init_machine(); > else > - of_platform_populate(NULL, of_default_bus_match_table, NULL, > - NULL); > + of_platform_default_populate(NULL, NULL, NULL); > return 0; > } > arch_initcall(customize_machine); > --=20 > 2.6.0.GIT >=20 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqKtiAAoJEGwLaZPeOHZ6pY0QALTq/GLYV7H0tqAhkEy3QOpW 6jUvWhoWFoBNecaJVGWQMVUZYTiqU23v1kzCsk1pIPTeV/chU691z3iifQcn2YM+ f9sUL6CHfF6ffp+m62v0h3JbBXvhC7HyMWEBI2WtkXwlvXMY7tMgysaw3XZgFcw/ UFxSJPemkFu9h5EStEohW54tUdTBDvMkXKhfpeF31az0TTMWih+Rdou/EWFnr0qu lZaIcHhfSFcxCZTJ0+w7xPsqpda0bkKcXFMFpZW9AZdYrSm9aDrbznnC7MNFultb YPOtC46vyO8a1gg0Qxi+5/LD0gudOSEgRGcTJovTOW4hlL2punDGwo5C3YQSsWpH bOJ8B2YX6wJB4JIEapl6DgcZV7ASNFWOBJnRerzNTTuCLsneP3q3E9bqCoryFYf8 jJhg+mvol2jK2ogpJ+Tzp4lBR2hE4oGIVswJTeaas3u/cY/MuayL+GTgFE9j4qJS HvaF6ibQ6lQXb4SHtgpsckXl56/kRFNCwqe5awndE6W3ko/xMbb+ocyXs/U6cNtU ULxg2jjcZxkd+jh3vKJKOgsQoG6mEO4BLn2+ubA0c0Q+qrMJ0DoWLbeLSDZfvCHW /3IMw+9t99SbpevMNXsIsCtqUkx5Wy3yCCyawmFS1KZcxJwcARa0JDg8DvsaZTsF QnAiJVGEFy4WQu28epiX =YN4w -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: james.hogan@imgtec.com (James Hogan) Date: Wed, 27 Jan 2016 11:34:58 +0000 Subject: [PATCH 06/15] metag: use of_platform_default_populate() to populate default bus In-Reply-To: <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com> References: <1453868872-26300-1-git-send-email-wangkefeng.wang@huawei.com> <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com> Message-ID: <20160127113458.GA20777@jhogan-linux.le.imgtec.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jan 27, 2016 at 12:27:43PM +0800, 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: James Hogan Acked-by: James Hogan Cheers James > Signed-off-by: Kefeng Wang > --- > arch/metag/kernel/setup.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c > index 31cf53d..c88f937 100644 > --- a/arch/metag/kernel/setup.c > +++ b/arch/metag/kernel/setup.c > @@ -415,8 +415,7 @@ static int __init customize_machine(void) > if (machine_desc->init_machine) > machine_desc->init_machine(); > else > - of_platform_populate(NULL, of_default_bus_match_table, NULL, > - NULL); > + of_platform_default_populate(NULL, NULL, NULL); > return 0; > } > arch_initcall(customize_machine); > -- > 2.6.0.GIT > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Hogan Subject: Re: [PATCH 06/15] metag: use of_platform_default_populate() to populate default bus Date: Wed, 27 Jan 2016 11:34:58 +0000 Message-ID: <20160127113458.GA20777@jhogan-linux.le.imgtec.org> References: <1453868872-26300-1-git-send-email-wangkefeng.wang@huawei.com> <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Return-path: Content-Disposition: inline In-Reply-To: <1453868872-26300-7-git-send-email-wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> Sender: linux-metag-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Kefeng Wang Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Arnd Bergmann , Shawn Guo , Russell King , Catalin Marinas , Hauke Mehrtens , Rob Herring , Masahiro Yamada , guohanjun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 27, 2016 at 12:27:43PM +0800, 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. >=20 > Cc: James Hogan Acked-by: James Hogan Cheers James > Signed-off-by: Kefeng Wang > --- > arch/metag/kernel/setup.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c > index 31cf53d..c88f937 100644 > --- a/arch/metag/kernel/setup.c > +++ b/arch/metag/kernel/setup.c > @@ -415,8 +415,7 @@ static int __init customize_machine(void) > if (machine_desc->init_machine) > machine_desc->init_machine(); > else > - of_platform_populate(NULL, of_default_bus_match_table, NULL, > - NULL); > + of_platform_default_populate(NULL, NULL, NULL); > return 0; > } > arch_initcall(customize_machine); > --=20 > 2.6.0.GIT >=20 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqKtiAAoJEGwLaZPeOHZ6pY0QALTq/GLYV7H0tqAhkEy3QOpW 6jUvWhoWFoBNecaJVGWQMVUZYTiqU23v1kzCsk1pIPTeV/chU691z3iifQcn2YM+ f9sUL6CHfF6ffp+m62v0h3JbBXvhC7HyMWEBI2WtkXwlvXMY7tMgysaw3XZgFcw/ UFxSJPemkFu9h5EStEohW54tUdTBDvMkXKhfpeF31az0TTMWih+Rdou/EWFnr0qu lZaIcHhfSFcxCZTJ0+w7xPsqpda0bkKcXFMFpZW9AZdYrSm9aDrbznnC7MNFultb YPOtC46vyO8a1gg0Qxi+5/LD0gudOSEgRGcTJovTOW4hlL2punDGwo5C3YQSsWpH bOJ8B2YX6wJB4JIEapl6DgcZV7ASNFWOBJnRerzNTTuCLsneP3q3E9bqCoryFYf8 jJhg+mvol2jK2ogpJ+Tzp4lBR2hE4oGIVswJTeaas3u/cY/MuayL+GTgFE9j4qJS HvaF6ibQ6lQXb4SHtgpsckXl56/kRFNCwqe5awndE6W3ko/xMbb+ocyXs/U6cNtU ULxg2jjcZxkd+jh3vKJKOgsQoG6mEO4BLn2+ubA0c0Q+qrMJ0DoWLbeLSDZfvCHW /3IMw+9t99SbpevMNXsIsCtqUkx5Wy3yCCyawmFS1KZcxJwcARa0JDg8DvsaZTsF QnAiJVGEFy4WQu28epiX =YN4w -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--