OSDN Git Service

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)
commit475028efc708880e16e61cc4cbbc00af784cb39b
tree3747f3d14e6044487b51fd7c59f231b919dbc76f
parent3f31e49dc4588d396023028791e36c23235e1334
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