aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-imx6.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2024-03-27 09:13:32 +0000
committerKrzysztof Wilczyński <[email protected]>2024-04-10 17:48:41 +0000
commitb7dec6b85089fcadf2478e22429d4e1863f95294 (patch)
tree9f274d0b2d676626a5f3c8c32ddd5e38dab2e800 /drivers/pci/controller/dwc/pci-imx6.c
parentPCI: dwc: ep: Add Kernel-doc comments for APIs (diff)
downloadkernel-b7dec6b85089fcadf2478e22429d4e1863f95294.tar.gz
kernel-b7dec6b85089fcadf2478e22429d4e1863f95294.zip
PCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops
deinit() callback was solely introduced for the pcie-rcar-gen4 driver where it is used to do platform specific resource deallocation. And this callback is called right at the end of the dw_pcie_ep_exit() API. So it doesn't matter whether it is called within or outside of dw_pcie_ep_exit() API. So let's remove this callback and directly call rcar_gen4_pcie_ep_deinit() in pcie-rcar-gen4 driver to do resource deallocation after the completion of dw_pcie_ep_exit() API in rcar_gen4_remove_dw_pcie_ep(). This simplifies the DWC layer. Link: https://lore.kernel.org/linux-pci/[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/pci-imx6.c')
0 files changed, 0 insertions, 0 deletions