Re: [PATCH 1/3] firmware: qcom: scm: pass qcom_scm to internal helpers

From: Bryan O'Donoghue

Date: Wed Sep 23 2026 - 17:05:09 EST


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