Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Michal Simek
2dbeb704 54b0a201

-7
-7
arch/microblaze/kernel/platform.c
··· 14 14 #include <linux/of_platform.h> 15 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 17 static int __init microblaze_device_probe(void) 24 18 { 25 - of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL); 26 19 of_platform_reset_gpio_probe(); 27 20 return 0; 28 21 }