PCI: dwc: meson: Use pci_ops for root config space accessors
authorRob Herring <robh@kernel.org>
Fri, 21 Aug 2020 03:53:48 +0000 (21:53 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Sep 2020 15:37:02 +0000 (16:37 +0100)
commite0ceb8f90b80f88ab6f7bad058e584b305e930d0
treee593336243521db26b5c6db73c2f5db8d86722f6
parent692ccce7f0c57464f1ada8b7ea4a2346b5319bc6
PCI: dwc: meson: Use pci_ops for root config space accessors

Now that DWC drivers can setup their own pci_ops for the root and child
buses, convert the Amlogic meson driver to use the standard pci_ops for
root bus config accesses.

Link: https://lore.kernel.org/r/20200821035420.380495-9-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Yue Wang <yue.wang@Amlogic.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: linux-amlogic@lists.infradead.org
drivers/pci/controller/dwc/pci-meson.c