OSDN Git Service

powerpc/eeh: Remove eeh_dev.c
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:19 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:20 +0000 (23:34 +1000)
commitd74ee8e9d12e2071014ecec96a1ce2744f77639d
treedec0893c0b25806df1d8ae642dc28b88a505e3a6
parent475028efc708880e16e61cc4cbbc00af784cb39b
powerpc/eeh: Remove eeh_dev.c

The only thing in this file is eeh_dev_init() which is allocates and
initialises an eeh_dev based on a pci_dn. This is only ever called from
pci_dn.c so move it into there and remove the file.

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-2-oohall@gmail.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/eeh_dev.c [deleted file]
arch/powerpc/kernel/pci_dn.c