]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f6eff4bdc916759f3f0783081b87df740f91078
tree786ccfc637234f0f88a0305ad4754897c2b258ff
parente70713f91593e76af5a581e455a51834eff587b3
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