summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic
diff options
context:
space:
mode:
authorRob Herring2018-06-19 23:47:07 +0200
committerPaul Burton2018-06-24 18:27:27 +0200
commit40c911ed8432130385ecd049922d7c994a83883d (patch)
tree064412564b79ceb470c84c8276953780ad98d44e /arch/mips/netlogic
parentMIPS: octeon: use of_platform_populate to probe devices (diff)
downloadkernel-qcow2-linux-40c911ed8432130385ecd049922d7c994a83883d.tar.gz
kernel-qcow2-linux-40c911ed8432130385ecd049922d7c994a83883d.tar.xz
kernel-qcow2-linux-40c911ed8432130385ecd049922d7c994a83883d.zip
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
Diffstat (limited to 'arch/mips/netlogic')
-rw-r--r--arch/mips/netlogic/xlp/dt.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/mips/netlogic/xlp/dt.c b/arch/mips/netlogic/xlp/dt.c
index 856a6e6d296e..b5ba83f4c646 100644
--- a/arch/mips/netlogic/xlp/dt.c
+++ b/arch/mips/netlogic/xlp/dt.c
@@ -93,17 +93,3 @@ void __init device_tree_init(void)
{
unflatten_and_copy_device_tree();
}
-
-static struct of_device_id __initdata xlp_ids[] = {
- { .compatible = "simple-bus", },
- {},
-};
-
-int __init xlp8xx_ds_publish_devices(void)
-{
- if (!of_have_populated_dt())
- return 0;
- return of_platform_bus_probe(NULL, xlp_ids, NULL);
-}
-
-device_initcall(xlp8xx_ds_publish_devices);