]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/pci: Fold pcibios_setup_device() into pcibios_bus_add_device()
authorOliver O'Halloran <oohall@gmail.com>
Fri, 10 Jan 2020 07:02:03 +0000 (18:02 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:21 +0000 (21:31 +1100)
commit3ab3f3c9df348324029e3fbdf381f551b1df8f1e
tree51e20eb18818bb6a078554e87683adda54cee731
parent37f6f8e88caef5f69774b82117ca35bdc4a985d8
powerpc/pci: Fold pcibios_setup_device() into pcibios_bus_add_device()

pcibios_bus_add_device() is the only caller of pcibios_setup_device().
Fold them together since there's no real reason to keep them separate.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200110070207.439-2-oohall@gmail.com
arch/powerpc/kernel/pci-common.c