PCI: armada: Remove redundant struct armada8k_pcie.base
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:29:59 +0000 (13:29 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:26:17 +0000 (20:26 -0500)
commit74e69079e2e81f656ef6a17e98f5b597b9b3f9bd
tree5737dae0a8739eb2925dad92f476eeba8a36a788
parentafb374f8ac0715ff10e580e8d83c206dc4b7017e
PCI: armada: Remove redundant struct armada8k_pcie.base

The struct armada8k_pcie.base pointer is always a constant offset from
struct pcie_port.dbi_base.  Encode that offset in the register macros so we
don't need to maintain the armada8k_pcie.base pointer.  No functional
change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pcie-armada8k.c