PCI: rockchip: Rename rockchip_cfg_atu() to rockchip_pcie_cfg_atu()
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 4 May 2017 02:24:48 +0000 (10:24 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:45:55 +0000 (18:45 -0500)
Rename rockchip_cfg_atu() to keep the name consistent with other functions
in pcie-rockchip.c.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rockchip.c

index 5e4f758044d4ca4031bf84f657dc8a41915f7365..8b22842ecff7c85824629e9985813ccb5e11070c 100644 (file)
@@ -1156,7 +1156,7 @@ static int rockchip_pcie_prog_ib_atu(struct rockchip_pcie *rockchip,
        return 0;
 }
 
-static int rockchip_cfg_atu(struct rockchip_pcie *rockchip)
+static int rockchip_pcie_cfg_atu(struct rockchip_pcie *rockchip)
 {
        struct device *dev = rockchip->dev;
        int offset;
@@ -1279,7 +1279,7 @@ static int __maybe_unused rockchip_pcie_resume_noirq(struct device *dev)
        if (err)
                return err;
 
-       err = rockchip_cfg_atu(rockchip);
+       err = rockchip_pcie_cfg_atu(rockchip);
        if (err)
                return err;
 
@@ -1399,7 +1399,7 @@ static int rockchip_pcie_probe(struct platform_device *pdev)
                }
        }
 
-       err = rockchip_cfg_atu(rockchip);
+       err = rockchip_pcie_cfg_atu(rockchip);
        if (err)
                goto err_free_res;