Skip to content

Commit

Permalink
PCI: xgene: Rename xgene_pcie_probe_bridge() to xgene_pcie_probe()
Browse files Browse the repository at this point in the history
Rename xgene_pcie_probe_bridge() to xgene_pcie_probe() to follow the
convention of other drivers.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
  • Loading branch information
Bjorn Helgaas committed Nov 10, 2017
1 parent 9e66317 commit 92e3145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pci/host/pci-xgene.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ static struct pci_ops xgene_pcie_ops = {
.write = pci_generic_config_write32,
};

static int xgene_pcie_probe_bridge(struct platform_device *pdev)
static int xgene_pcie_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct device_node *dn = dev->of_node;
Expand Down Expand Up @@ -709,7 +709,7 @@ static struct platform_driver xgene_pcie_driver = {
.of_match_table = of_match_ptr(xgene_pcie_match_table),
.suppress_bind_attrs = true,
},
.probe = xgene_pcie_probe_bridge,
.probe = xgene_pcie_probe,
};
builtin_platform_driver(xgene_pcie_driver);
#endif

0 comments on commit 92e3145

Please sign in to comment.