m68k/PCI: Remove redundant call of pci_bus_add_devices()
authorJiang Liu <liuj97@gmail.com>
Sat, 25 May 2013 13:48:35 +0000 (21:48 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Jun 2013 23:38:39 +0000 (17:38 -0600)
commitd9e6ba5fed08b64f8dcabcc82d9706fd8ec1f121
treea992325c657037e191a96f5ce7e6bbb8eb4c153b
parent70efde2a2920c12f2b14eb640944ca7e61b2c02d
m68k/PCI: Remove redundant call of pci_bus_add_devices()

pci_scan_bus() has called pci_bus_add_devices() already, so remove the
redundant call of pci_bus_add_devices().  subsys_init() callbacks will be
invoked before device_init() callbacks, so it should be safe to remove the
redundant calls.

[bhelgaas: split unicore32 into a separate patch]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/pci.c