Skip to content

Commit b623023

Browse files
jhovoldLorenzo Pieralisi
authored andcommitted
PCI: qcom: Drop unused post_deinit callback
Drop the unused and confusingly named post_deinit callback that was added for the now removed pipe clock handling. If ever needed we can add back a callback named pre_deinit (or perhaps rather pre_phy_power_off) instead. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
1 parent 2baedb9 commit b623023

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/pci/controller/dwc/pcie-qcom.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ struct qcom_pcie_ops {
208208
int (*init)(struct qcom_pcie *pcie);
209209
int (*post_init)(struct qcom_pcie *pcie);
210210
void (*deinit)(struct qcom_pcie *pcie);
211-
void (*post_deinit)(struct qcom_pcie *pcie);
212211
void (*ltssm_enable)(struct qcom_pcie *pcie);
213212
int (*config_sid)(struct qcom_pcie *pcie);
214213
};
@@ -1520,8 +1519,6 @@ static int qcom_pcie_host_init(struct dw_pcie_rp *pp)
15201519

15211520
err:
15221521
qcom_ep_reset_assert(pcie);
1523-
if (pcie->cfg->ops->post_deinit)
1524-
pcie->cfg->ops->post_deinit(pcie);
15251522
err_disable_phy:
15261523
phy_power_off(pcie->phy);
15271524
err_deinit:

0 commit comments

Comments
 (0)