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

Unverified Commit f67f10b8 authored by Rob Herring's avatar Rob Herring Committed by Palmer Dabbelt
Browse files

riscv: remove unnecessary of_platform_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: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: linux-riscv@lists.infradead.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 781c8fe2
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -220,8 +220,3 @@ void __init setup_arch(char **cmdline_p)
	riscv_fill_hwcap();
	riscv_fill_hwcap();
}
}
static int __init riscv_device_init(void)
{
	return of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
subsys_initcall_sync(riscv_device_init);