powerpc/eeh: Remove eeh_add_device_tree_late()
authorOliver O'Halloran <oohall@gmail.com>
Fri, 6 Mar 2020 07:39:00 +0000 (18:39 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Mar 2020 01:09:38 +0000 (12:09 +1100)
commit2d0953f7d5acc53a97d0dbfab8b1827e9897a7e6
tree08945333c151b90e2733578db5f5874f02dc5b9e
parent8645aaa87963439007773ed8862ae6a29ea15eae
powerpc/eeh: Remove eeh_add_device_tree_late()

On pseries and PowerNV pcibios_bus_add_device() calls eeh_add_device_late()
so there's no need to do a separate tree traversal to bind the eeh_dev and
pci_dev together setting up the PHB at boot. As a result we can remove
eeh_add_device_tree_late().

Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200306073904.4737-2-oohall@gmail.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/of_platform.c
arch/powerpc/kernel/pci-common.c