By using dw_pcie_ep_deinit_notify(), the init and deinit notification is performed using the same API layer. This makes the driver more consistent. Signed-off-by: Niklas Cassel <cassel@xxxxxxxxxx> --- drivers/pci/controller/dwc/pcie-qcom-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c index b6a5010cc1a7..25bf790e9725 100644 --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c @@ -507,7 +507,7 @@ static void qcom_pcie_perst_assert(struct dw_pcie *pci) return; } - pci_epc_deinit_notify(pci->ep.epc); + dw_pcie_ep_deinit_notify(&pci->ep); dw_pcie_ep_cleanup(&pci->ep); qcom_pcie_disable_resources(pcie_ep); pcie_ep->link_status = QCOM_PCIE_EP_LINK_DISABLED; -- 2.45.1