diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2016-06-01 14:53:02 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-06-23 15:00:31 -0500 |
commit | 623e9ef636726280635d7bcc8f6b71794d05a57e (patch) | |
tree | 14ce7fc4b9779f1b301c1b8bc4adec23ff1c1eff | |
parent | ddd0ce87bfdebbc92c639286a2bf1241f335e6c8 (diff) | |
download | linux-623e9ef636726280635d7bcc8f6b71794d05a57e.tar.bz2 |
nios2: 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.
Cc: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | arch/nios2/platform/platform.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/platform/platform.c b/arch/nios2/platform/platform.c index d478773f758a..2a35154ca153 100644 --- a/arch/nios2/platform/platform.c +++ b/arch/nios2/platform/platform.c @@ -9,7 +9,6 @@ */ #include <linux/init.h> -#include <linux/of_platform.h> #include <linux/of_address.h> #include <linux/of_fdt.h> #include <linux/err.h> @@ -39,8 +38,7 @@ static int __init nios2_soc_device_init(void) } } - return of_platform_populate(NULL, of_default_bus_match_table, - NULL, NULL); + return 0; } device_initcall(nios2_soc_device_init); |