aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-rcar-gen4.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2024-03-27 09:13:33 +0000
committerKrzysztof Wilczyński <[email protected]>2024-04-10 17:49:21 +0000
commitc8682a3314c1e247b253a5ffa22e8cc4cd7156cc (patch)
treeaae9952f0f97591ec73308052b825b3135bdf1a5 /drivers/pci/controller/dwc/pcie-rcar-gen4.c
parentPCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops (diff)
downloadkernel-c8682a3314c1e247b253a5ffa22e8cc4cd7156cc.tar.gz
kernel-c8682a3314c1e247b253a5ffa22e8cc4cd7156cc.zip
PCI: dwc: ep: Rename dw_pcie_ep_exit() to dw_pcie_ep_deinit()
dw_pcie_ep_exit() API is undoing what the dw_pcie_ep_init() API has done already (at least partly). But the API name dw_pcie_ep_exit() is not quite reflecting that. So let's rename it to dw_pcie_ep_deinit() to make the purpose of this API clear. This also aligns with the DWC host driver. Link: https://patchwork.kernel.org/project/linux-pci/patch/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Frank Li <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-rcar-gen4.c')
-rw-r--r--drivers/pci/controller/dwc/pcie-rcar-gen4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-rcar-gen4.c b/drivers/pci/controller/dwc/pcie-rcar-gen4.c
index 5d29c4cfe0a0..de4bdfaecab3 100644
--- a/drivers/pci/controller/dwc/pcie-rcar-gen4.c
+++ b/drivers/pci/controller/dwc/pcie-rcar-gen4.c
@@ -432,7 +432,7 @@ static int rcar_gen4_add_dw_pcie_ep(struct rcar_gen4_pcie *rcar)
static void rcar_gen4_remove_dw_pcie_ep(struct rcar_gen4_pcie *rcar)
{
- dw_pcie_ep_exit(&rcar->dw.ep);
+ dw_pcie_ep_deinit(&rcar->dw.ep);
rcar_gen4_pcie_ep_deinit(rcar);
}