PCI: artpec6: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:56 +0000 (13:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:49:33 +0000 (20:49 -0500)
commitb6f5f434f079eb6dd3fe105d6dbc00a361df86fe
treef4d32acba70e12a59914222b06ee98579ba566fc
parentacaa88e4e21f737c270892c31b4846a5d11b3b49
PCI: artpec6: 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>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/pci/host/pcie-artpec6.c