]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Remove eeh_dev_phb_init_dynamic()
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:18 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:19 +0000 (23:34 +1000)
commit2caf79d867f7232687d0bdfad680115e209c4f4e
tree3747f3d14e6044487b51fd7c59f231b919dbc76f
parenta4b4ae82c15f6508b3a98cd547f33393a4fb04b1
powerpc/eeh: Remove eeh_dev_phb_init_dynamic()

This function is a one line wrapper around eeh_phb_pe_create() and despite
the name it doesn't create any eeh_dev structures. Replace it with direct
calls to eeh_phb_pe_create() since that does what it says on the tin
and removes a layer of indirection.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-1-oohall@gmail.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/eeh_dev.c
arch/powerpc/kernel/of_platform.c
arch/powerpc/platforms/pseries/pci_dlpar.c