@@ -186,7 +186,7 @@ static int adsp_shutdown_poll_decrypt(struct qcom_adsp *adsp)
186186
187187static int adsp_unprepare (struct rproc * rproc )
188188{
189- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
189+ struct qcom_adsp * adsp = rproc -> priv ;
190190
191191 /*
192192 * adsp_load() did pass pas_metadata to the SCM driver for storing
@@ -203,7 +203,7 @@ static int adsp_unprepare(struct rproc *rproc)
203203
204204static int adsp_load (struct rproc * rproc , const struct firmware * fw )
205205{
206- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
206+ struct qcom_adsp * adsp = rproc -> priv ;
207207 int ret ;
208208
209209 /* Store firmware handle to be used in adsp_start() */
@@ -244,7 +244,7 @@ static int adsp_load(struct rproc *rproc, const struct firmware *fw)
244244
245245static int adsp_start (struct rproc * rproc )
246246{
247- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
247+ struct qcom_adsp * adsp = rproc -> priv ;
248248 int ret ;
249249
250250 ret = qcom_q6v5_prepare (& adsp -> q6v5 );
@@ -360,7 +360,7 @@ static void qcom_pas_handover(struct qcom_q6v5 *q6v5)
360360
361361static int adsp_stop (struct rproc * rproc )
362362{
363- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
363+ struct qcom_adsp * adsp = rproc -> priv ;
364364 int handover ;
365365 int ret ;
366366
@@ -390,7 +390,7 @@ static int adsp_stop(struct rproc *rproc)
390390
391391static void * adsp_da_to_va (struct rproc * rproc , u64 da , size_t len , bool * is_iomem )
392392{
393- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
393+ struct qcom_adsp * adsp = rproc -> priv ;
394394 int offset ;
395395
396396 offset = da - adsp -> mem_reloc ;
@@ -405,7 +405,7 @@ static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iom
405405
406406static unsigned long adsp_panic (struct rproc * rproc )
407407{
408- struct qcom_adsp * adsp = ( struct qcom_adsp * ) rproc -> priv ;
408+ struct qcom_adsp * adsp = rproc -> priv ;
409409
410410 return qcom_q6v5_panic (& adsp -> q6v5 );
411411}
@@ -683,7 +683,7 @@ static int adsp_probe(struct platform_device *pdev)
683683 rproc -> auto_boot = desc -> auto_boot ;
684684 rproc_coredump_set_elf_info (rproc , ELFCLASS32 , EM_NONE );
685685
686- adsp = ( struct qcom_adsp * ) rproc -> priv ;
686+ adsp = rproc -> priv ;
687687 adsp -> dev = & pdev -> dev ;
688688 adsp -> rproc = rproc ;
689689 adsp -> minidump_id = desc -> minidump_id ;
0 commit comments