From: Kefeng Wang Date: Wed, 1 Jun 2016 06:52:59 +0000 (+0800) Subject: cris: Remove unnecessary of_platform_populate with default match table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db41252cf8b58c8a57226204e113b9dffaebf693;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Mikael Starvik Cc: Jesper Nilsson Signed-off-by: Kefeng Wang Signed-off-by: Rob Herring --- diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c index bb12aa93201d..4b4853d914e2 100644 --- a/arch/cris/kernel/setup.c +++ b/arch/cris/kernel/setup.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -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);