Skip to content

Commit 2968534

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
PCI: rockchip-ep: Rename rockchip_pcie_parse_ep_dt()
To be consistent with the usual "get_resources" naming of driver functions that acquire controller resources like clocks, PHY etc, rename the function rockchip_pcie_parse_ep_dt() to rockchip_pcie_ep_get_resources(). No functional changes. Link: https://lore.kernel.org/r/20241017015849.190271-8-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent 9f737cc commit 2968534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pci/controller/pcie-rockchip-ep.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ static const struct pci_epc_ops rockchip_pcie_epc_ops = {
497497
.get_features = rockchip_pcie_ep_get_features,
498498
};
499499

500-
static int rockchip_pcie_parse_ep_dt(struct rockchip_pcie *rockchip,
501-
struct rockchip_pcie_ep *ep)
500+
static int rockchip_pcie_ep_get_resources(struct rockchip_pcie *rockchip,
501+
struct rockchip_pcie_ep *ep)
502502
{
503503
struct device *dev = rockchip->dev;
504504
int err;
@@ -560,7 +560,7 @@ static int rockchip_pcie_ep_probe(struct platform_device *pdev)
560560
ep->epc = epc;
561561
epc_set_drvdata(epc, ep);
562562

563-
err = rockchip_pcie_parse_ep_dt(rockchip, ep);
563+
err = rockchip_pcie_ep_get_resources(rockchip, ep);
564564
if (err)
565565
return err;
566566

0 commit comments

Comments
 (0)