PCI: spear: Clean up struct device usage
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:42:09 +0000 (13:42 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Oct 2016 13:45:47 +0000 (08:45 -0500)
commit6a43a425a074afc855af0fc4612c6e3438f97426
tree786ccfc637234f0f88a0305ad4754897c2b258ff
parent7a29f04a56649f75b3877d161d291af711646b41
PCI: spear: Clean up struct device usage

For consistency with other drivers, use the struct device pointer from
struct pcie_port whenever possible instead of relying on the
platform_device pointer.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-spear13xx.c