PCI: dwc: ep: Rename dw_pcie_ep_exit() to dw_pcie_ep_deinit()
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 27 Mar 2024 09:13:33 +0000 (14:43 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 10 Apr 2024 17:49:21 +0000 (17:49 +0000)
commitc8682a3314c1e247b253a5ffa22e8cc4cd7156cc
treeaae9952f0f97591ec73308052b825b3135bdf1a5
parentb7dec6b85089fcadf2478e22429d4e1863f95294
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/20240327-pci-dbi-rework-v12-4-082625472414@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
drivers/pci/controller/dwc/pcie-designware-ep.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-rcar-gen4.c