linux-metag.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 06/15] metag: use of_platform_default_populate() to populate default bus
       [not found]   ` <1453868872-26300-7-git-send-email-wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2016-01-27 11:34     ` James Hogan
  0 siblings, 0 replies; only message in thread
From: James Hogan @ 2016-01-27 11:34 UTC (permalink / raw)
  To: Kefeng Wang
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann,
	Shawn Guo, Russell King, Catalin Marinas, Hauke Mehrtens,
	Rob Herring, Masahiro Yamada, guohanjun-hv44wF8Li93QT0dZR+AlfA,
	linux-metag-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

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 <james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>

Acked-by: James Hogan <james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>

Cheers
James

> Signed-off-by: Kefeng Wang <wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
> ---
>  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
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-27 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1453868872-26300-1-git-send-email-wangkefeng.wang@huawei.com>
     [not found] ` <1453868872-26300-7-git-send-email-wangkefeng.wang@huawei.com>
     [not found]   ` <1453868872-26300-7-git-send-email-wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-01-27 11:34     ` [PATCH 06/15] metag: use of_platform_default_populate() to populate default bus James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).