Skip to content

Commit 40c911e

Browse files
robherringpaulburton
authored andcommitted
MIPS: netlogic: remove unnecessary of_platform_bus_probe call
The DT core code will probe "simple-bus" by default, so remove the Netlogic specific call. The probing of simple-bus happens at arch_initcall_sync, so the call being removed here is already a nop. 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/19589/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-kernel@vger.kernel.org
1 parent f072f9c commit 40c911e

File tree

1 file changed

+0
-14
lines changed
  • arch/mips/netlogic/xlp

1 file changed

+0
-14
lines changed

arch/mips/netlogic/xlp/dt.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,3 @@ void __init device_tree_init(void)
9393
{
9494
unflatten_and_copy_device_tree();
9595
}
96-
97-
static struct of_device_id __initdata xlp_ids[] = {
98-
{ .compatible = "simple-bus", },
99-
{},
100-
};
101-
102-
int __init xlp8xx_ds_publish_devices(void)
103-
{
104-
if (!of_have_populated_dt())
105-
return 0;
106-
return of_platform_bus_probe(NULL, xlp_ids, NULL);
107-
}
108-
109-
device_initcall(xlp8xx_ds_publish_devices);

0 commit comments

Comments
 (0)