Skip to content

Commit 9667bb0

Browse files
robherringpaulburton
authored andcommitted
MIPS: lantiq: remove unnecessary of_platform_default_populate call
The DT core will call of_platform_default_populate, so it is not necessary for arch specific code to call it unless there are custom match entries, auxdata or parent device. Neither of those apply here, so remove the call. Cc: John Crispin <john@phrozen.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring <robh@kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/19592/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-kernel@vger.kernel.org
1 parent 6a7ec6c commit 9667bb0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

arch/mips/lantiq/prom.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <linux/export.h>
1010
#include <linux/clk.h>
1111
#include <linux/bootmem.h>
12-
#include <linux/of_platform.h>
1312
#include <linux/of_fdt.h>
1413

1514
#include <asm/bootinfo.h>
@@ -114,10 +113,3 @@ void __init prom_init(void)
114113
panic("failed to register_vsmp_smp_ops()");
115114
#endif
116115
}
117-
118-
int __init plat_of_setup(void)
119-
{
120-
return of_platform_default_populate(NULL, NULL, NULL);
121-
}
122-
123-
arch_initcall(plat_of_setup);

0 commit comments

Comments
 (0)