diff options
| author | Manivannan Sadhasivam <[email protected]> | 2024-06-06 07:26:34 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2024-07-09 23:20:21 +0000 |
| commit | 245b9ebf7b8e2a79c207337ee78061ff8e0c774b (patch) | |
| tree | faf4c73089a56dc7e67305bf1364e6ae54cce0e9 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event (diff) | |
| download | kernel-245b9ebf7b8e2a79c207337ee78061ff8e0c774b.tar.gz kernel-245b9ebf7b8e2a79c207337ee78061ff8e0c774b.zip | |
PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper
Currently dw_pcie_ep_init_notify() wrapper just calls pci_epc_init_notify()
directly, so this wrapper provides no benefit to the glue drivers.
Remove it and call pci_epc_init_notify() directly from glue drivers.
Suggested-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Siddharth Vadapalli <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-keystone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index d3a7d14ee685..ca1054f5c79a 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -1293,7 +1293,7 @@ static int ks_pcie_probe(struct platform_device *pdev) goto err_ep_init; } - dw_pcie_ep_init_notify(&pci->ep); + pci_epc_init_notify(pci->ep.epc); break; default: |
