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

cris: 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: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.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
db41252c d8fcfb6d

-8
-8
arch/cris/kernel/setup.c
··· 21 21 #include <linux/cpu.h> 22 22 #include <linux/of.h> 23 23 #include <linux/of_fdt.h> 24 - #include <linux/of_platform.h> 25 24 #include <asm/setup.h> 26 25 #include <arch/system.h> 27 26 ··· 211 212 } 212 213 213 214 subsys_initcall(topology_init); 214 - 215 - static int __init cris_of_init(void) 216 - { 217 - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 218 - return 0; 219 - } 220 - core_initcall(cris_of_init);