qcacmn: Move targetdef out of ol_softc to ol_bmi_context

Targetdef is needed during BMI phase of PLL switching.
Move this member to ol_bmi_context

Change-Id: Idf5bbe610a926506b87e8458fa460fd583263a03
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam
2016-02-15 17:23:07 +05:30
committed by Gerrit - the friendly Code Review server
parent 2a5fa63d2b
commit 8eb8f28ce2
2 changed files with 0 additions and 10 deletions

View File

@@ -519,13 +519,6 @@ void hif_close(struct ol_softc *hif_ctx)
CDF_MODULE_ID_HIF, hif_ctx);
}
void hif_init_opaque_handle(struct hif_softc *scn)
{
struct ol_softc *hif_hdl = GET_HIF_OPAQUE_HDL(scn);
hif_hdl->targetdef = scn->targetdef;
}
/**
* hif_enable(): hif_enable
* @hif_ctx: hif_ctx
@@ -557,8 +550,6 @@ CDF_STATUS hif_enable(struct ol_softc *hif_ctx, struct device *dev,
return status;
}
hif_init_opaque_handle(scn);
if (ADRASTEA_BU)
hif_vote_link_up(hif_ctx);