Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec3d5f16 authored by Rob Herring's avatar Rob Herring Committed by Yoshinori Sato
Browse files

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
parent 5743ee22
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
#include <linux/init.h>
#include <linux/of.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/clk-provider.h>
#include <linux/memblock.h>
@@ -168,15 +167,6 @@ const struct seq_operations cpuinfo_op = {
	.show	= show_cpuinfo,
};

static int __init device_probe(void)
{
	of_platform_populate(NULL, NULL, NULL, NULL);

	return 0;
}

device_initcall(device_probe);

#if defined(CONFIG_CPU_H8300H)
#define get_wait(base, addr) ({		\
	int baddr;			\