Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db41252c authored by Kefeng Wang's avatar Kefeng Wang Committed by Rob Herring
Browse files

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: default avatarJesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent d8fcfb6d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@
#include <linux/cpu.h>
#include <linux/of.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <asm/setup.h>
#include <arch/system.h>

@@ -212,10 +211,3 @@ static int __init topology_init(void)
}

subsys_initcall(topology_init);

static int __init cris_of_init(void)
{
	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
	return 0;
}
core_initcall(cris_of_init);