diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2016-06-01 14:52:59 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-06-23 15:00:22 -0500 |
commit | db41252cf8b58c8a57226204e113b9dffaebf693 (patch) | |
tree | 88011d298a12766ea3ec4314c5ad5c809dd2c218 /arch/cris/kernel | |
parent | d8fcfb6dbba2229b29dd6b672ac6c6081c37e48c (diff) | |
download | op-kernel-dev-db41252cf8b58c8a57226204e113b9dffaebf693.zip op-kernel-dev-db41252cf8b58c8a57226204e113b9dffaebf693.tar.gz |
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>
Diffstat (limited to 'arch/cris/kernel')
-rw-r--r-- | arch/cris/kernel/setup.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c index bb12aa9..4b4853d 100644 --- a/arch/cris/kernel/setup.c +++ b/arch/cris/kernel/setup.c @@ -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); |