Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arc: Remove unnecessary of_platform_populate with default match table

After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.

Acked-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Kefeng Wang and committed by
Rob Herring
61c78644 44a7185c

-7
-7
arch/arc/kernel/setup.c
··· 14 14 #include <linux/module.h> 15 15 #include <linux/cpu.h> 16 16 #include <linux/of_fdt.h> 17 - #include <linux/of_platform.h> 18 17 #include <linux/cache.h> 19 18 #include <asm/sections.h> 20 19 #include <asm/arcregs.h> ··· 434 435 435 436 static int __init customize_machine(void) 436 437 { 437 - /* 438 - * Traverses flattened DeviceTree - registering platform devices 439 - * (if any) complete with their resources 440 - */ 441 - of_platform_default_populate(NULL, NULL, NULL); 442 - 443 438 if (machine_desc->init_machine) 444 439 machine_desc->init_machine(); 445 440