diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-11-04 11:49:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-11 11:36:15 -0800 |
commit | 4fdf3abcba03e57635cc05c8b3377151848438b7 (patch) | |
tree | c75f2b1bba18dce3b6964770e0e83e8725b617a8 /drivers/staging/mt7621-pci | |
parent | staging: mt7621-pci: debug port N_FTS inside 'mt7621_pcie_enable_port' (diff) | |
download | linux-dev-4fdf3abcba03e57635cc05c8b3377151848438b7.tar.xz linux-dev-4fdf3abcba03e57635cc05c8b3377151848438b7.zip |
staging: mt7621-pci: rename 'mt7621_pcie_enable_port' into 'mt7621_pcie_init_port'
Rename function 'mt7621_pcie_enable_port' with a name which is better
for what the function is really doing calling it 'mt7621_pcie_init_port'.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-pci')
-rw-r--r-- | drivers/staging/mt7621-pci/pci-mt7621.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 50c7bd79ba44..11fe9ffcb8e8 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -543,7 +543,7 @@ static int mt7621_pcie_parse_dt(struct mt7621_pcie *pcie) return 0; } -static int mt7621_pcie_enable_port(struct mt7621_pcie_port *port) +static int mt7621_pcie_init_port(struct mt7621_pcie_port *port) { struct mt7621_pcie *pcie = port->pcie; struct device *dev = pcie->dev; @@ -660,7 +660,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) list_for_each_entry_safe(port, tmp, &pcie->ports, list) { u32 slot = port->slot; - err = mt7621_pcie_enable_port(port); + err = mt7621_pcie_init_port(port); if (err) { dev_err(dev, "enabling port %d failed\n", slot); list_del(&port->list); |