diff options
author | Rob Herring <robh@kernel.org> | 2018-06-19 17:36:19 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-06-21 07:57:38 -0400 |
commit | 2dbeb7040a21846facbeea876e85cbde41fa81e9 (patch) | |
tree | 3976824bcd9b922c6fff8a0bcb26ae2bda597381 | |
parent | 54b0a2011dfcd2e3fe2c28062694fbbe3eb377a3 (diff) |
microblaze: remove unecessary of_platform_bus_probe call
The call to of_platform_bus_probe has no effect because the DT core
already probes default buses like "simple-bus" before this call.
Michal Simek said 'xlnx,compound' hasn't been used in a long time, so
that match entry isn't needed.
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/microblaze/kernel/platform.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/microblaze/kernel/platform.c b/arch/microblaze/kernel/platform.c index 2540d60610d9..b9a414552d9b 100644 --- a/arch/microblaze/kernel/platform.c +++ b/arch/microblaze/kernel/platform.c | |||
@@ -14,15 +14,8 @@ | |||
14 | #include <linux/of_platform.h> | 14 | #include <linux/of_platform.h> |
15 | #include <asm/setup.h> | 15 | #include <asm/setup.h> |
16 | 16 | ||
17 | static struct of_device_id xilinx_of_bus_ids[] __initdata = { | ||
18 | { .compatible = "simple-bus", }, | ||
19 | { .compatible = "xlnx,compound", }, | ||
20 | {} | ||
21 | }; | ||
22 | |||
23 | static int __init microblaze_device_probe(void) | 17 | static int __init microblaze_device_probe(void) |
24 | { | 18 | { |
25 | of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL); | ||
26 | of_platform_reset_gpio_probe(); | 19 | of_platform_reset_gpio_probe(); |
27 | return 0; | 20 | return 0; |
28 | } | 21 | } |