[PATCH 1/3] firmware: qcom: scm: pass qcom_scm to internal helpers
Bryan O'Donoghue
bod at kernel.org
Wed Sep 23 14:00:01 PDT 2026
On 14/09/2026 13:41, Albert Esteve wrote:
> int qcom_scm_pas_auth_and_reset(u32 pas_id)
> {
> - return __qcom_scm_pas_auth_and_reset(__scm->dev, pas_id);
> + struct qcom_scm *scm = __scm;
> +
> + return __qcom_scm_pas_auth_and_reset(scm->dev, pas_id);
> }
> EXPORT_SYMBOL_GPL(qcom_scm_pas_auth_and_reset);
Why make this change at all though ?
It takes a pointer to the file static _scm
The reset of the patch looks straight-forward to me but this change
caught my eye.
---
bod
More information about the ath10k
mailing list