powernv/pci: Fold pnv_pci_dma_dev_setup() into the pci-ioda.c version
authorOliver O'Halloran <oohall@gmail.com>
Fri, 10 Jan 2020 07:02:06 +0000 (18:02 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:22 +0000 (21:31 +1100)
commit0a25d9c40161269067c47f6c09a12d76cfe72581
tree8e2dcdd32648b62fb438e2fcf4429640e943e1ee
parent965c94f309be58fbcc6c8d3e4f123376c5970d79
powernv/pci: Fold pnv_pci_dma_dev_setup() into the pci-ioda.c version

pnv_pci_dma_dev_setup() does nothing but call the phb->dma_dev_setup()
callback, if one exists. That callback is only set for normal PCIe PHBs so
we can remove the layer of indirection and use the ioda version in
the pci_controller_ops.

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-5-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h