PCI: mediatek: Rename port->index and mtk_pcie_parse_ports()
authorHonghui Zhang <honghui.zhang@mediatek.com>
Thu, 10 Aug 2017 06:34:55 +0000 (14:34 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 30 Aug 2017 13:23:56 +0000 (08:23 -0500)
commit4f6f0460448d5725a647039b8891736132a01a50
tree08f51bb06bbbaa84028a95eb7cd5e02747538cf9
parente10b7a184ccf883a456c8683fa2e53eddd3aeb9c
PCI: mediatek: Rename port->index and mtk_pcie_parse_ports()

Rename "port->index" to "port->slot" since the ports are hardwired at
PCI_SLOT.  Also rename "mtk_pcie_parse_ports()" to "mtk_pcie_parse_port()"
since it parses one port each time.

No functional change in this patch.

Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-mediatek.c