PCI: hisi: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:34:23 +0000 (13:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 05:08:27 +0000 (00:08 -0500)
commite9480b5a7f3449f75eedb595bec25cd10a1f43f2
tree39d8a48bfc15049c349ed15c462600c8242ed9cc
parenta458ce33d40fc0b1349c5c7eb07d349dca8af287
PCI: hisi: Pass device-specific struct to internal functions

Only interfaces used from outside the driver, e.g., those called by the
DesignWare core, need to accept pointers to the generic struct pcie_port.
Internal interfaces can accept pointers to the device-specific struct,
which makes them more straightforward.  No functional change intended.

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