aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-06-19 17:40:54 -0400
committerYoshinori Sato <ysato@users.sourceforge.jp>2018-08-22 06:14:20 -0400
commitec3d5f1658f44538907b149d6396453e0ceedc60 (patch)
tree5456ebfffbdb70277593ca2856db1a8162ffa26f
parent5743ee22bf3f8842f2330925434a727e1044e2a1 (diff)
h8300: remove unnecessary of_platform_populate call
The DT core will call of_platform_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: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: uclinux-h8-devel@lists.sourceforge.jp Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
-rw-r--r--arch/h8300/kernel/setup.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c
index 33ed980e7aea..34e2df5c0d6d 100644
--- a/arch/h8300/kernel/setup.c
+++ b/arch/h8300/kernel/setup.c
@@ -23,7 +23,6 @@
23#include <linux/init.h> 23#include <linux/init.h>
24#include <linux/of.h> 24#include <linux/of.h>
25#include <linux/of_fdt.h> 25#include <linux/of_fdt.h>
26#include <linux/of_platform.h>
27#include <linux/of_address.h> 26#include <linux/of_address.h>
28#include <linux/clk-provider.h> 27#include <linux/clk-provider.h>
29#include <linux/memblock.h> 28#include <linux/memblock.h>
@@ -168,15 +167,6 @@ const struct seq_operations cpuinfo_op = {
168 .show = show_cpuinfo, 167 .show = show_cpuinfo,
169}; 168};
170 169
171static int __init device_probe(void)
172{
173 of_platform_populate(NULL, NULL, NULL, NULL);
174
175 return 0;
176}
177
178device_initcall(device_probe);
179
180#if defined(CONFIG_CPU_H8300H) 170#if defined(CONFIG_CPU_H8300H)
181#define get_wait(base, addr) ({ \ 171#define get_wait(base, addr) ({ \
182 int baddr; \ 172 int baddr; \