projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a7ec6c
)
MIPS: lantiq: remove unnecessary of_platform_default_populate call
author
Rob Herring
<
[email protected]
>
Tue, 19 Jun 2018 21:47:10 +0000
(15:47 -0600)
committer
Paul Burton
<
[email protected]
>
Sun, 24 Jun 2018 16:27:27 +0000
(09:27 -0700)
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 <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: Paul Burton <
[email protected]
>
Cc: James Hogan <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Rob Herring <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/19592/
Signed-off-by: Paul Burton <
[email protected]
>
Cc:
[email protected]
arch/mips/lantiq/prom.c
patch
|
blob
|
history
diff --git
a/arch/mips/lantiq/prom.c
b/arch/mips/lantiq/prom.c
index 9ff7ccde9de0e8d9899018d3d9152e4a243408e8..d984bd5c2ec5fa24c4e966311a2504962ffd4963 100644
(file)
--- a/
arch/mips/lantiq/prom.c
+++ b/
arch/mips/lantiq/prom.c
@@
-9,7
+9,6
@@
#include <linux/export.h>
#include <linux/clk.h>
#include <linux/bootmem.h>
-#include <linux/of_platform.h>
#include <linux/of_fdt.h>
#include <asm/bootinfo.h>
@@
-114,10
+113,3
@@
void __init prom_init(void)
panic("failed to register_vsmp_smp_ops()");
#endif
}
-
-int __init plat_of_setup(void)
-{
- return of_platform_default_populate(NULL, NULL, NULL);
-}
-
-arch_initcall(plat_of_setup);