Skip to content

Commit 0279455

Browse files
robherringpaulburton
authored andcommitted
MIPS: bmips: remove unnecessary call to register "simple-bus"
The DT core will register "simple-bus" by default, so it is not necessary for arch specific code to do so unless there are custom match entries, auxdata or parent device. Neither of those apply here, so remove the call. Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> 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/19590/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-kernel@vger.kernel.org
1 parent 40c911e commit 0279455

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

arch/mips/bmips/setup.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,6 @@ void __init device_tree_init(void)
202202
of_node_put(np);
203203
}
204204

205-
int __init plat_of_setup(void)
206-
{
207-
return __dt_register_buses("simple-bus", NULL);
208-
}
209-
210-
arch_initcall(plat_of_setup);
211-
212205
static int __init plat_dev_init(void)
213206
{
214207
of_clk_init(NULL);

0 commit comments

Comments
 (0)